Changeset 2592 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin/init


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

r3724@localhost: bruno | 2010-03-10 00:46:58 +0100

  • Remove more busyboix references
  • Avoid some actions when called standalone
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/sbin/init

    r2591 r2592  
    618618    echo "********************************************************************"
    619619    echo "MINDI-LINUX by Mondo Dev Team - web site: http://www.mondorescue.org"
    620     echo "Boot disk based on AlfaLinux & Trinux. BusyBox by Erik Andersen."
    621620which petris > /dev/null 2> /dev/null && echo "Petris was written by Peter Seidler <p.seidler@mail1.stofanet.dk>."
    622621    echo "Executables and source code are covered by the GNU GPL. No warranty."
     
    792791    ExtractDataDisksAndLoadModules
    793792else
    794     HandleCDROM
     793    if [ -f "$MINDI_CACHE/mondorestore.cfg" ] ; then
     794        HandleCDROM
     795    fi
    795796    ExtractDataDisksAndLoadModules
    796797    # We need to get here exported variables from start-netfs
     
    827828    [ "$res" != "1" ] && [ "$res" != "" ] && Die "This is CD #$res in the series. Please insert CD #1."
    828829    [ -e "/cdrom.lnk" ] && mv -f /cdrom.lnk /dev/cdrom && mount /dev/cdrom /mnt/cdrom && CD_MOUNTED_OK=yes
    829     [ "$CD_MOUNTED_OK" != "yes" ] && TryAgainToFindCD
    830     #mount | grep cdrom > /dev/null 2> /dev/null || mount /dev/cdrom /mnt/cdrom >> $LOGFILE 2>> $LOGFILE
     830    [ "$CD_MOUNTED_OK" != "yes" ] && [ -f $MINDI_CACHE/mondorestore.cfg ] && TryAgainToFindCD
    831831fi
    832832hack-cfg-if-necessary || LogIt "Cannot find hack-cfg-if-necessary"
Note: See TracChangeset for help on using the changeset viewer.