Changeset 2329 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin/post-init
- Timestamp:
- Aug 18, 2009, 3:20:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/rootfs/sbin/post-init
r2098 r2329 5 5 #------------------------------------------------------------ 6 6 7 8 7 sleep 1 9 8 … … 11 10 cat /tmp/mountlist.txt >> $LOGFILE 12 11 13 iso=`grep iso /proc/cmdline`14 nuke=`grep nuke /proc/cmdline`12 iso=`grep iso $CMDLINE` 13 nuke=`grep nuke $CMDLINE` 15 14 if [ "$nuke" = "" ] ; then 16 nuke=`grep -i "RESTORE " /proc/cmdline`15 nuke=`grep -i "RESTORE " $CMDLINE` 17 16 fi 18 expert=`grep expert /proc/cmdline`19 compare=`grep compare /proc/cmdline`20 interactive=`grep interactive /proc/cmdline`21 pxe=`grep pxe /proc/cmdline`17 expert=`grep expert $CMDLINE` 18 compare=`grep compare $CMDLINE` 19 interactive=`grep interactive $CMDLINE` 20 pxe=`grep pxe $CMDLINE` 22 21 [ "$interactive" ] && expert=""; # in case 'expert' crops up somewhere 23 22 if which mondorestore > /dev/null 2> /dev/null ; then … … 62 61 fi 63 62 64 if [ "`grep -i 'debug' /proc/cmdline`" ]; then63 if [ "`grep -i 'debug' $CMDLINE`" ]; then 65 64 mondoopt="$mondoopt -K 99" 66 65 fi
Note:
See TracChangeset
for help on using the changeset viewer.