Changeset 148 in MondoRescue for branches/2.05/mindi/rootfs/sbin/init


Ignore:
Timestamp:
Dec 2, 2005, 8:22:32 PM (18 years ago)
Author:
bcornec
Message:
  • Bug on USB keyboard corrected
  • PXE mode reviewed (netmask and route management added in start-nfs)
  • -p option with PXE doesn't require a parameter anymore and it now works with the parameter
  • -p option should work correctly with iso and nfs modes
  • cosmetic messages improvement for mindi
  • use STD_PREFIX
File:
1 edited

Legend:

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

    r116 r148  
    622622#    HandleCDROMorFloppies
    623623#el
    624 if [ "`cat /tmp/mondo-restore.cfg | grep "tape "`" ] || [ "`cat /tmp/mondo-restore.cfg | grep udev`" ] ; then
     624if [ "`| grep -i 'tape ' /tmp/mondo-restore.cfg`" ] || [ "`grep -i udev /tmp/mondo-restore.cfg`" ] ; then
    625625    HandleTape
    626626else
    627     if [ "`cat /proc/cmdline | grep -i pxe`" ] ; then
     627    if [ "`cat /proc/cmdline | grep -i pxe`" ] || [ "`grep -i iso-prefix /tmp/mondo-restore.cfg`" ] ; then
    628628        LogIt "PXE boot found"
    629         imgname="mondorescue"
     629        imgname=`grep iso-prefix /tmp/mondo-restore.cfg | cut -d' ' -f2-`
     630        if [ "$imgname" = "" ]; then
     631            imgname="mondorescue"
     632        fi
    630633        if [ "`cat /proc/cmdline | grep -i prefix`" ] ; then
    631             for i in "`cat /proc/cmdline`" ; do
     634            for i in `cat /proc/cmdline` ; do
    632635                if [ "`echo $i | grep -i prefix`" ] ; then
    633636                    imgname=`echo $i | cut -d'=' -f2`
Note: See TracChangeset for help on using the changeset viewer.