Changeset 3526


Ignore:
Timestamp:
Mar 4, 2016, 12:19:08 AM (21 months ago)
Author:
bruno
Message:

Forging a /tmp/mondorestore.cfg file at restore time if using mindi standalone in order to avoid error messages from grep.

File:
1 edited

Legend:

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

    r3489 r3526  
    961961UseTmpfs
    962962if [ ! -e "/tmp/mondorestore.cfg" ] ; then
    963     LogIt "Warning - /tmp/mondorestore.cfg not found"
     963    LogIt "WARNING: /tmp/mondorestore.cfg not found - forging an empty one"
     964    LogIt "         Hopefully this is a Mindi media"
     965    touch /tmp/mondorestore.cfg
    964966fi
    965967if [ "`grep -i pxe /proc/cmdline`" ] || [ "`grep -i net /proc/cmdline`" ] || [ "`grep 'netfs-proto ' /tmp/mondorestore.cfg`" ]; then
Note: See TracChangeset for help on using the changeset viewer.