summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-04-08 06:16:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-04-08 06:16:16 +0000
commit651f67ff1eaec7e0a04376c63ed201dc3af0249d (patch)
treea32cacb7a4f70842f03850b1df5b5ce183dbf417 /distrib/miniroot
parent19b76c448d17fb63b04c22e11bdb0954fce6093f (diff)
clean ramdisk /tmp a bit more before running MAKEDEV
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sh23
1 files changed, 3 insertions, 20 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index 8f73194e753..00da467e47b 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.50 1999/04/07 22:59:27 deraadt Exp $
+# $OpenBSD: install.sh,v 1.51 1999/04/08 06:16:15 deraadt Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -250,27 +250,9 @@ __get_filesystems_1
fi
_i=$(( ${_i} + 1 ))
done
+ rm -f /tmp/fstab.${DISK}
done
-# pax memory leak fixed, this is no longer as neccessary
-# if [ -f /sbin/swapon ]; then
-# echo
-# echo "Do you wish to enable swap for this install (WARNING: Useful for low memory"
-# echo "machines, but only do this if the b partition on the root disk was configured"
-# echo -n "correctly before this kernel boot, or disaster will result)? [n] "
-# getresp "n"
-# case "$resp" in
-# y*|Y*)
-# swapon /dev/${ROOTDISK}b
-# ;;
-# reboot)
-# reboot
-# ;;
-# *)
-# ;;
-# esac
-# fi
-
echo
echo "You have configured the following devices and mount points:"
echo
@@ -583,6 +565,7 @@ for file in fstab hostname.* hosts myname mygate resolv.conf; do
if [ -f $file ]; then
echo -n "Copying $file..."
cp $file /mnt/etc/$file
+ rm -f $file
echo "done."
fi
done