Quick checkin between network hangs...

Restored trap calls in profile, and reset trap 2 at end of fsck.
Make installation of fourth floppy an option.
This commit is contained in:
Andrew Moore 1993-09-11 08:08:11 +00:00
parent d92c47dabf
commit 39da311037
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=438
2 changed files with 18 additions and 10 deletions

View File

@ -845,15 +845,22 @@ echo "install"
echo "cd /"
echo "umount /mnt >/dev/null 2>&1"
echo "echo"
echo "echo \"Now insert third installation floppy in drive and\""
echo "echo -n \"enter that drive's number (e.g. 0 or 1): [0] \""
echo "echo -n \"Install optional dos floppy? [n] \""
echo "read resp junk"
echo "driveno=\${resp:-0}"
echo "mount -t pcfs -o ro /dev/fd\${driveno}a /mnt"
echo "mkdir -p /usr/distbin"
echo "cp /mnt/* /usr/distbin/"
echo "sync"
echo "umount /mnt >/dev/null 2>&1"
echo "case \"\$resp\" in"
echo "y\*|Y\*)"
echo " echo"
echo " echo \"Now insert third installation (dos) floppy in drive and\""
echo " echo -n \"enter that drive's number (e.g. 0 or 1): [0] \""
echo " read resp junk"
echo " driveno=\${resp:-0}"
echo " mount -t pcfs -o ro /dev/fd\${driveno}a /mnt"
echo " mkdir -p /usr/distbin"
echo " cp /mnt/* /usr/distbin/"
echo " sync"
echo " umount /mnt >/dev/null 2>&1"
echo " ;;"
echo "esac"
echo "echo"
echo "echo \"OK. All of the base files are installed.\""
echo "echo"

View File

@ -1,6 +1,6 @@
stty status '^T'
#trap : 2
#trap : 3
trap : 2
trap : 3
HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin; export PATH
if [ -e /fastboot ]
@ -48,6 +48,7 @@ else
esac
fi
trap 2
trap "echo 'Reboot interrupted'; exit 1" 3
umount -a >/dev/null 2>&1
mount -a -t nonfs