mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
>From BETA_1_1 branch:
---------------------------- revision 1.1.2.1 date: 1994/04/10 20:20:26; author: rgrimes; state: Exp; lines: +11 -5 Use /dev/fd0 instead of /dev/fd0a. Add mounting of mcd1 if mcd0 fails when searching for a cdrom drive.
This commit is contained in:
parent
f010fbc6da
commit
641ecfdd1d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1373
@ -47,11 +47,17 @@ while [ $CDROM_TYPE -eq 0 ]; do # Begin of cd drive loop
|
||||
CDROM_TYPE=2
|
||||
echo "Found and mounted Mitsumi CD ROM drive /dev/mcd0a"
|
||||
else
|
||||
CDROM_TYPE=0
|
||||
echo "No cdrom drive found, are you sure the cd is in the"
|
||||
echo "drive and the drive is ready? Press return to make"
|
||||
echo -n "another attempt at finding the cdrom drive."
|
||||
read resp
|
||||
mount -t isofs /dev/mcd1a ${CDROM_MOUNT} >/dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
CDROM_TYPE=2
|
||||
echo "Found and mounted Mitsumi CD ROM drive /dev/mcd1a"
|
||||
else
|
||||
CDROM_TYPE=0
|
||||
echo "No cdrom drive found, are you sure the cd is in the"
|
||||
echo "drive and the drive is ready? Press return to make"
|
||||
echo -n "another attempt at finding the cdrom drive."
|
||||
read resp
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done # End of cd drive loop
|
||||
|
Loading…
Reference in New Issue
Block a user