summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-04-18 04:26:25 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-04-18 04:26:25 +0000
commit39955230ef5ba1f840d2b12cc0e2c4b332519356 (patch)
treeabc96a19259fc64797740abad1f0bbbbe6669a58 /etc
parenta122f03302985c341fdf876c5b6c9025f5f2e9f1 (diff)
downloadFreeBSD-src-39955230ef5ba1f840d2b12cc0e2c4b332519356.zip
FreeBSD-src-39955230ef5ba1f840d2b12cc0e2c4b332519356.tar.gz
>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.
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.i386/cdinst1.profile16
1 files changed, 11 insertions, 5 deletions
diff --git a/etc/etc.i386/cdinst1.profile b/etc/etc.i386/cdinst1.profile
index 2de4c91..ce4d0ca 100644
--- a/etc/etc.i386/cdinst1.profile
+++ b/etc/etc.i386/cdinst1.profile
@@ -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
OpenPOWER on IntegriCloud