summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2001-10-11 23:15:00 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2001-10-11 23:15:00 +0000
commitb71dfadde17c337bd3cb142629be0e903123ece4 (patch)
treeac9512d3f04a731ce7269b4cc9d81915e7783725 /distrib/miniroot
parent73db282e259b57c498e40f56ce47420ef1b95df8 (diff)
Do *not* copy the possibly edited fstab back to disk after
promising this would not happen. Historically this was being done to preserve any ufs -> ffs changes the upgrade script had done, but the script has not done such changes for some time. ok millert@ deraadt@
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/upgrade.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/distrib/miniroot/upgrade.sh b/distrib/miniroot/upgrade.sh
index 618e2854be7..fecc650dcc1 100644
--- a/distrib/miniroot/upgrade.sh
+++ b/distrib/miniroot/upgrade.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: upgrade.sh,v 1.17 2001/06/23 19:44:46 deraadt Exp $
+# $OpenBSD: upgrade.sh,v 1.18 2001/10/11 23:14:59 krw Exp $
# $NetBSD: upgrade.sh,v 1.2.4.5 1996/08/27 18:15:08 gwr Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -248,15 +248,6 @@ get_timezone
# Copy in configuration information and make devices in target root.
(
- cd /tmp
- for file in fstab; do
- if [ -f $file ]; then
- echo -n "Copying $file..."
- cp $file /mnt/etc/$file
- echo "done."
- fi
- done
-
echo "Installing timezone link."
rm -f /mnt/etc/localtime
ln -s /usr/share/zoneinfo/$TZ /mnt/etc/localtime