Changeset 273 in MondoRescue for branches/2.06/mindi/rootfs/sbin/find-and-mount-cdrom
- Timestamp:
- Jan 3, 2006, 4:09:12 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/mindi/rootfs/sbin/find-and-mount-cdrom
r30 r273 7 7 for device in /dev/hd? /dev/scd? /dev/rcd? /dev/sr? /dev/cd? /dev/ide/*/*/*/*/cd /dev/scsi/*/*/*/*/cd; do 8 8 [ ! "$SECOND_TRY" ] && LogIt "Trying $device" 9 if [ "` cat /tmp/mondo-restore.cfg | grep "using-cdstream yes"`" ]; then9 if [ "`grep "using-cdstream yes" /tmp/mondo-restore.cfg`" ]; then 10 10 pwd=`pwd` 11 11 cd $GROOVY … … 77 77 #mount /dev/fd0u1722 -t ext2 /mnt/floppy 78 78 [ "$1" = "--second-try" ] && exit 1; # don't try to mount floppy drive 79 if [ "` cat /tmp/mondo-restore.cfg | grep "using-cdstream yes"`" ] ; then79 if [ "`grep "using-cdstream yes" /tmp/mondo-restore.cfg`" ] ; then 80 80 LogIt "Because you are using cdstream, I won't try to mount CD." 81 81 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.