Changeset 3203 in MondoRescue for branches/3.2/mindi/rootfs/sbin/post-init


Ignore:
Timestamp:
Dec 6, 2013, 3:40:40 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • Test /tmp/mountlist.txt existence before using it in mindi, as mindi can be use in standalone mode without mondoarchive creating that file
File:
1 edited

Legend:

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

    r2915 r3203  
    88sleep 1
    99
    10 echo "Here is my /tmp/mountlist.txt" >> $LOGFILE
    11 cat /tmp/mountlist.txt >> $LOGFILE
     10if [ -f "/tmp/mountlist.txt" ]; then
     11    echo "Here is my /tmp/mountlist.txt" >> $LOGFILE
     12    cat /tmp/mountlist.txt >> $LOGFILE
     13fi
    1214
    1315iso=`grep iso /proc/cmdline`
Note: See TracChangeset for help on using the changeset viewer.