Changeset 3271 in MondoRescue for branches/3.2/mindi/rootfs/usr/sbin/find-and-mount-cdrom
- Timestamp:
- Apr 29, 2014, 9:23:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/rootfs/usr/sbin/find-and-mount-cdrom
r3216 r3271 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" /tmp/mondo -restore.cfg 2> /dev/null`" ]; then9 if [ "`grep "using-cdstream yes" /tmp/mondorestore.cfg 2> /dev/null`" ]; then 10 10 pwd=`pwd` 11 11 cd $GROOVY … … 76 76 fi 77 77 [ "$1" = "--second-try" ] && exit 1; 78 if [ "`grep "using-cdstream yes" /tmp/mondo -restore.cfg 2> /dev/null`" ] ; then78 if [ "`grep "using-cdstream yes" /tmp/mondorestore.cfg 2> /dev/null`" ] ; then 79 79 LogIt "Because you are using cdstream, I won't try to mount CD." 80 80 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.