diff options
Diffstat (limited to 'etc/etc.i386/cdinst1.install')
-rw-r--r-- | etc/etc.i386/cdinst1.install | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/etc/etc.i386/cdinst1.install b/etc/etc.i386/cdinst1.install index f60f833f4e058..bb8380ed5063b 100644 --- a/etc/etc.i386/cdinst1.install +++ b/etc/etc.i386/cdinst1.install @@ -1,7 +1,7 @@ #!/bin/sh # cd install floppy disk /install script # -# $Id: cdinst1.install,v 1.1.2.3 1994/05/05 04:11:20 rgrimes Exp $ +# $Id: cdinst1.install,v 1.6 1994/06/29 06:46:01 rgrimes Exp $ # ${OPSYSTEM}, the mounting of the cdrom drive, and the path are all # setup by .profile @@ -432,7 +432,7 @@ sync verified_install="" while [ ! "$verified_install" ]; do # Begin of Big Loop -rotdelay="" +rotdelay="-d 0 -n 1" drivename=wd0 drivetype=wd sect_fwd="" @@ -459,13 +459,11 @@ e*|E*|st*|ST*) ;; i*|I*) type=ST506 - rotdelay="-d 0" ;; sc*|SC*) drivename=sd0 drivetype=sd type=SCSI - rotdelay="-d 0" DEFSECT=32 DEFHEAD=64 ;; @@ -474,6 +472,11 @@ sc*|SC*) type=ST506 ;; esac +echo -n "Install onto which drive [$drivename] " +read resp junk +drivename=${resp:-${drivename}} +echo +echo "Disk $drivename is of device type $drivetype." if [ ! "$partition" ]; then echo echo "Please wait. Examining device /dev/r${drivename}d..." @@ -859,7 +862,7 @@ if [ "$sect_fwd" = "sf:" ]; then bad_read=$(expr "$data" : '[^(]*(read)[^0-9]*\([0-9]*\)') [ "$bad_seek" -o "$bad_read" ] && echo -n "$bad_seek $bad_read " done) - [ "$badlist" ] && bad144 -a -c $drivename "$badlist" + [ "$badlist" ] && bad144 -a -c $drivename $badlist echo " done." fi @@ -991,7 +994,7 @@ n*) echo -n "What is the netmask? [0xffffff00] " read resp if [ "$resp" = "" ]; then - ifnetmask="netmask 0xffffff00" + ifnetmask="netmask 0xffffff00 else ifnetmask="netmask $resp" fi |