Changeset 232 in MondoRescue
- Timestamp:
- Dec 17, 2005, 10:33:56 AM (19 years ago)
- Location:
- branches/2.05/mindi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.05/mindi/mindi
r224 r232 1672 1672 if [ "`DidMondoCallMe`" ] ; then 1673 1673 if [ "$CDRECOVERY" != "yes" ] ; then 1674 1675 1676 elif [ ! "$MONDO_TMP" ] ; then1677 1678 1679 1680 1674 if [ -e "$MONDO_TMP/start-nfs" ] ; then 1675 echo -en "Press <enter> to continue.\n" 1676 elif [ ! "$MONDO_TMP" ] ; then 1677 echo -en "FYI, this is _not_ a Mondo Rescue CD.\n" 1678 else 1679 echo -en "$BOOT_MEDIA_MESSAGE" 1680 fi 1681 1681 fi 1682 1682 fi -
branches/2.05/mindi/rootfs/sbin/init
r229 r232 649 649 # Simulate a local CD 650 650 echo "/mnt/cdrom" > /tmp/CDROM-LIVES-HERE 651 CD_MOUNTED_OK=yes 651 652 else 652 653 HandleCDROMorFloppies … … 654 655 fi 655 656 res=$? 656 echo " Please wait."657 insert-all-my-modules > /dev/null &658 sleep 7 657 echo "Inserting modules ..." 658 insert-all-my-modules > $LOGFILE 2> $LOGFILE 659 echo "Installing additional tools ..." 659 660 install-additional-tools 660 661 SwapTheMountExecs 661 662 ConfigureLoggingDaemons 662 echo "Please wait." 663 insert-all-my-modules & 664 sleep 7 663 echo "Inserting modules again ..." 664 insert-all-my-modules > $LOGFILE 2> $LOGFILE 665 665 if [ -e "/tmp/USE-DEVFS" ] ; then 666 666 umount /mnt/cdrom 2> /dev/null … … 669 669 RunDevfsd 670 670 fi 671 echo "Starting potential Raid/LVMs ..." 671 672 PauseForRaids 672 673 StartRaids -
branches/2.05/mindi/rootfs/sbin/post-init
r30 r232 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.