Changeset 227 in MondoRescue for branches/2.05


Ignore:
Timestamp:
Dec 15, 2005, 6:08:52 PM (18 years ago)
Author:
bcornec
Message:

iso-prefix may be in .cfg file without NFS or PXE !

File:
1 edited

Legend:

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

    r223 r227  
    625625    HandleTape
    626626else
    627     if [ "`cat /proc/cmdline | grep -i pxe`" ] || [ "`grep -i iso-prefix /tmp/mondo-restore.cfg`" ] ; then
    628         LogIt "PXE boot found"
     627    if [ -e "/sbin/start-nfs" ]; then
     628        if [ "`cat /proc/cmdline | grep -i pxe`" ]; then
     629            LogIt "PXE boot found"
     630        fi
    629631        imgname=`grep iso-prefix /tmp/mondo-restore.cfg | cut -d' ' -f2-`
    630632        if [ "$imgname" = "" ]; then
Note: See TracChangeset for help on using the changeset viewer.