Ignore:
Timestamp:
Jan 3, 2006, 4:15:54 PM (14 years ago)
Author:
bcornec
Message:

merge -r272:273 $SVN_M/branches/2.06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mindi/rootfs/sbin/find-and-mount-cdrom

    r30 r274  
    77    for device in /dev/hd? /dev/scd? /dev/rcd? /dev/sr? /dev/cd? /dev/ide/*/*/*/*/cd /dev/scsi/*/*/*/*/cd; do
    88        [ ! "$SECOND_TRY" ] && LogIt "Trying $device"
    9         if [ "`cat /tmp/mondo-restore.cfg | grep "using-cdstream yes"`" ]; then
     9        if [ "`grep "using-cdstream yes" /tmp/mondo-restore.cfg`" ]; then
    1010        pwd=`pwd`
    1111        cd $GROOVY
     
    7777#mount /dev/fd0u1722 -t ext2 /mnt/floppy
    7878[ "$1" = "--second-try" ] && exit 1; # don't try to mount floppy drive
    79 if [ "`cat /tmp/mondo-restore.cfg | grep "using-cdstream yes"`" ] ; then
     79if [ "`grep "using-cdstream yes" /tmp/mondo-restore.cfg`" ] ; then
    8080    LogIt "Because you are using cdstream, I won't try to mount CD."
    8181    exit 0
Note: See TracChangeset for help on using the changeset viewer.