Changeset 3327 in MondoRescue for branches/3.0/mindi/rootfs/etc/init.d/rcS


Ignore:
Timestamp:
Dec 3, 2014, 9:57:24 PM (6 years ago)
Author:
Bruno Cornec
Message:

Backports from 3.2:

  • Launch start-netfs when a network conf is detected in the conf file to avoid an error later on in automatic mode
  • Improve description of -k option of mondoarchive and give an example
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/rootfs/etc/init.d/rcS

    r3321 r3327  
    965965    LogIt "Warning - /tmp/mondo-restore.cfg not found"
    966966fi
    967 if [ "`grep -i pxe /proc/cmdline`" ] || [ "`grep -i net /proc/cmdline`" ]; then
     967if [ "`grep -i pxe /proc/cmdline`" ] || [ "`grep -i net /proc/cmdline`" ] || [ "`grep 'netfs-proto ' /tmp/mondo-restore.cfg`" ]; then
    968968    # We need to get here exported variables from start-netfs
    969969    . /sbin/start-netfs
     
    990990    HandleCDROM
    991991    ExtractDataDisksAndLoadModules
    992     # We need to get here exported variables from start-netfs
    993     . /sbin/start-netfs
    994992fi
    995993res=$?
Note: See TracChangeset for help on using the changeset viewer.