Restored trap calls in profile, and reset trap 2 at end of fsck.
Make installation of fourth floppy an option.
echo "cd /"
echo "umount /mnt >/dev/null 2>&1"
echo "echo"
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 "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"
echo "echo"
echo "echo \"OK. All of the base files are installed.\""
echo "echo"
HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin; export PATH
if [ -e /fastboot ]
HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin; export PATH
if [ -e /fastboot ]
trap "echo 'Reboot interrupted'; exit 1" 3
umount -a >/dev/null 2>&1
mount -a -t nonfs
trap "echo 'Reboot interrupted'; exit 1" 3
umount -a >/dev/null 2>&1
mount -a -t nonfs