Changeset 3319 in MondoRescue for branches/3.0/mindi/rootfs/sbin/post-init


Ignore:
Timestamp:
Dec 1, 2014, 11:35:39 PM (9 years ago)
Author:
Bruno Cornec
Message:
  • Backport most mindi modifications done in the 3.2 branch into 3.0 in order to have soon a 2.1.8 version which is probably Fedora 17+ compatible (all modifications up to 2014-10-16)
File:
1 edited

Legend:

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

    r2915 r3319  
    55#------------------------------------------------------------
    66
    7 
    8 sleep 1
    9 
    10 echo "Here is my /tmp/mountlist.txt" >> $LOGFILE
    11 cat /tmp/mountlist.txt >> $LOGFILE
     7if [ -f "/tmp/mountlist.txt" ]; then
     8    echo "Here is my /tmp/mountlist.txt" >> $LOGFILE
     9    cat /tmp/mountlist.txt >> $LOGFILE
     10fi
    1211
    1312iso=`grep iso /proc/cmdline`
     
    6867fi
    6968
     69# Now suppress msg redirection to avoid poluting log file
     70exec 2>&4 >&5 4>&- 5>&-
     71
    7072if [ "$compare" ] ; then
    7173    LogIt "------------------COMPARE MODE-----------------" 1
Note: See TracChangeset for help on using the changeset viewer.