Changeset 2462 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin/post-init
- Timestamp:
- Oct 20, 2009, 4:07:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/rootfs/sbin/post-init
r2378 r2462 7 7 sleep 1 8 8 9 echo "Here is my /tmp/mountlist.txt" >> $LOGFILE 10 cat /tmp/mountlist.txt >> $LOGFILE 9 echo "Here is my $MINDI_CACHE/mountlist.txt" >> $LOGFILE 10 cat $MINDI_CACHE/mountlist.txt >> $LOGFILE 11 echo "-----------------------------------" >> $LOGFILE 12 11 13 12 14 iso=`grep iso $CMDLINE` … … 45 47 46 48 mondoopt="" 47 if [ "`grep -i 'obdr ' /tmp/mondo-restore.cfg 2> /dev/null`" ]; then49 if [ "`grep -i 'obdr ' $MINDI_CACHE/mondorestore.cfg 2> /dev/null`" ]; then 48 50 mondoopt="$mondoopt -o -d $TAPEDEV" 49 51 fi … … 60 62 mondorestore $mondoopt -Z nuke 61 63 elif [ "$expert" ] ; then 62 if [ "`grep tapedev /tmp/mondo-restore.cfg 2> /dev/null`" ] ; then64 if [ "`grep tapedev $MINDI_CACHE/mondorestore.cfg 2> /dev/null`" ] ; then 63 65 LogIt "-------------------TAPE MODE-------------------" 1 64 66 loc=`which mondorestore 2> /dev/null` … … 73 75 fi 74 76 fi 75 elif [ "`grep using-cdstream /tmp/mondo-restore.cfg 2> /dev/null`" ] ; then77 elif [ "`grep using-cdstream $MINDI_CACHE/mondorestore.cfg 2> /dev/null`" ] ; then 76 78 LogIt "------------------CDSTREAM MODE------------------" 1 77 79 loc=`which mondorestore 2> /dev/null`
Note:
See TracChangeset
for help on using the changeset viewer.