Changeset 236 in MondoRescue for trunk/mindi/rootfs/sbin/post-init
- Timestamp:
- Dec 19, 2005, 7:31:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/mindi/rootfs/sbin/post-init ¶
r30 r236 1 1 #!/bin/sh 2 2 # 3 # $Id$ 3 4 # 4 # 07/14/045 # - if interactive then not expert :)6 #7 # 06/12/048 # - tell user to call mondorestore --mbr after nuking9 #10 # 08/02/0311 # - don't call multifunc cd, even if it is one12 #13 # 05/30/0314 # - added hooks for multi-function CD15 #16 # 05/04/0317 # - better handling of mondorestore softlinks18 # - no more 'mondo-restore' --- it's 'mondorestore'19 #20 # 03/26/0321 # - report if mount-me, unmount-me, mondorestore missing22 # - call mondorestore instead of mondo-restore23 #24 # 07/15/0225 # - copy mountlist.txt to logfile at start26 #27 # 07/11/0228 # - exit w/o calling mondorestore, if non-mondo CD/floppy29 #30 # 06/28/0231 # - RESTORE == nuke_mode32 #33 # 06/24/0234 # - disabled isonuke35 #36 # 06/13/0237 # - added isonuke38 #39 # 02/03/0240 # - softlink mondo-restore -> mondorestore if mondorestore exists but m-r not41 #42 # 12/10/0143 # - removed the 'clear' from the start of the script44 #45 # 12/09/0146 # - broke up spaghetti code; made lots of subroutines47 # - moved some subroutines to /sbin/init, where they belong48 5 #------------------------------------------------------------ 49 6 … … 105 62 nuke=`cat /proc/cmdline | grep "nuke"` 106 63 if [ "$nuke" = "" ] ; then 107 nuke=`cat /proc/cmdline | grep "RESTORE "`64 nuke=`cat /proc/cmdline | grep -i "RESTORE "` 108 65 fi 109 66 expert=`cat /proc/cmdline | grep "expert"` … … 148 105 done 149 106 150 #if [ "$iso" ] && [ "$nuke" ] ; then151 # LogIt "------------------ISONUKE MODE-----------------" 1152 # mondorestore --isonuke153 #el154 #if [ "$iso" ] ; then155 # LogIt "--------------------ISO MODE-------------------" 1156 # mondorestore --iso157 #el158 107 if [ "$compare" ] ; then 159 108 LogIt "------------------COMPARE MODE-----------------" 1
Note:
See TracChangeset
for help on using the changeset viewer.