Changeset 1983 in MondoRescue for branches/2.2.7/mindi/rootfs/sbin/post-init


Ignore:
Timestamp:
Jun 16, 2008, 9:40:42 PM (16 years ago)
Author:
Bruno Cornec
Message:
  • Remove aux-tools dir in mindi (either scripts moved or removed)
  • Remove isolinux and syslinux static files from mindi. Now generated
  • Remove lilo support for ia32 now useless in mindi
  • Remoce empty directories in rootfs in mindi
  • Remove HackSyslinuxFile, CopyBootBFile, FindLiloBinary, FindSensibleBootBFile, MakeSyslinuxMessageFile, MakeLiloConfFile, ReplaceIndividualLine in mindi
  • Adds a single MakeBootConfFile function to dynamiclly create needed conf files in mindi
  • Avoids error messages when using only mindi with a non-existant /tmp/mondo-restore.cfg
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.7/mindi/rootfs/sbin/post-init

    r1967 r1983  
    105105
    106106mondoopt=""
    107 if [ "`grep -i 'obdr ' /tmp/mondo-restore.cfg`" ]; then
     107if [ "`grep -i 'obdr ' /tmp/mondo-restore.cfg 2> /dev/null`" ]; then
    108108    mondoopt="$mondoopt -o -d $TAPEDEV"
    109109fi
     
    120120    mondorestore $mondoopt -Z nuke
    121121elif [ "$expert" ] ; then
    122     if [ "`grep tapedev /tmp/mondo-restore.cfg`" ] ; then
     122    if [ "`grep tapedev /tmp/mondo-restore.cfg 2> /dev/null`" ] ; then
    123123    LogIt "-------------------TAPE MODE-------------------" 1
    124124    loc=`which mondorestore 2> /dev/null`
     
    133133            fi
    134134    fi
    135     elif [ "`grep using-cdstream /tmp/mondo-restore.cfg`" ] ; then
     135    elif [ "`grep using-cdstream /tmp/mondo-restore.cfg 2> /dev/null`" ] ; then
    136136        LogIt "------------------CDSTREAM MODE------------------" 1
    137137        loc=`which mondorestore 2> /dev/null`
Note: See TracChangeset for help on using the changeset viewer.