Changeset 2591 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin/start-usb


Ignore:
Timestamp:
Mar 11, 2010, 2:56:00 AM (14 years ago)
Author:
Bruno Cornec
Message:

r3723@localhost: bruno | 2010-03-09 23:56:51 +0100

  • No error msg if mondorestore.cfg doesn't exist (mindi alone)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/sbin/start-usb

    r2462 r2591  
    77
    88# Get info from config file
    9 MRUSBDEV=`grep usb-dev $MINDI_CACHE/mondorestore.cfg 2> /dev/null | cut -d' ' -f2-`
     9MRUSBDEV=""
     10if [ -f $MINDI_CACHE/mondorestore.cfg ]; then
     11    MRUSBDEV=`grep usb-dev $MINDI_CACHE/mondorestore.cfg 2> /dev/null | cut -d' ' -f2-`
     12fi
    1013
    1114# info from cmdline are predominent
Note: See TracChangeset for help on using the changeset viewer.