Changeset 2591 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin/find-and-mount-cdrom
- Timestamp:
- Mar 11, 2010, 2:56:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/rootfs/sbin/find-and-mount-cdrom
r2488 r2591 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 [ "`grep "using-cdstream yes" $MINDI_CACHE/mondorestore.cfg 2> /dev/null`" ]; then9 if [ -f $MINDI_CACHE/mondorestore.cfg ] && [ "`grep "using-cdstream yes" $MINDI_CACHE/mondorestore.cfg 2> /dev/null`" ]; then 10 10 pwd=`pwd` 11 11 cd $GROOVY … … 75 75 fi 76 76 [ "$1" = "--second-try" ] && exit 1; 77 if [ "`grep "using-cdstream yes" $MINDI_CACHE/mondorestore.cfg 2 > /dev/null`" ] ; then77 if [ -f $MINDI_CACHE/mondorestore.cfg ] && [ "`grep "using-cdstream yes" $MINDI_CACHE/mondorestore.cfg 2 > /dev/null`" ] ; then 78 78 LogIt "Because you are using cdstream, I won't try to mount CD." 79 79 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.