Changeset 1977 in MondoRescue for branches/stable/mindi/rootfs/sbin/post-init
- Timestamp:
- Jun 2, 2008, 10:49:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/rootfs/sbin/post-init
r1621 r1977 104 104 done 105 105 106 mondoopt="" 107 if [ "`grep -i 'obdr ' /tmp/mondo-restore.cfg`" ]; then 108 mondoopt="$mondoopt -o -d $TAPEDEV" 109 fi 110 111 if [ "`grep -i 'debug' /proc/cmdline`" ]; then 112 mondoopt="$mondoopt -K 99" 113 fi 114 106 115 if [ "$compare" ] ; then 107 116 LogIt "------------------COMPARE MODE-----------------" 1 108 mondorestore --compare117 mondorestore $mondoopt -Z compare 109 118 elif [ "$nuke" ] ; then 110 119 LogIt "-------------------NUKE MODE-------------------" 1 111 mondorestore --nuke120 mondorestore $mondoopt -Z nuke 112 121 elif [ "$expert" ] ; then 113 122 if [ "`grep tapedev /tmp/mondo-restore.cfg`" ] ; then … … 119 128 LogIt "Tape Mode -- calling mondorestore..." 120 129 if [ "$nuke" ] ; then 121 mondorestore --nuke130 mondorestore $mondoopt -Z nuke 122 131 else 123 mondorestore ; # MR will detect & access the tape132 mondorestore $mondoopt; # MR will detect & access the tape 124 133 fi 125 134 fi … … 132 141 LogIt "Cdstream Mode -- calling mondorestore..." 133 142 if [ "$nuke" ] ; then 134 mondorestore - -nuke143 mondorestore -Z nuke $mondoopt 135 144 else 136 mondorestore ; # MR will detect & access the cdstream145 mondorestore $mondoopt; # MR will detect & access the cdstream 137 146 fi 138 147 fi … … 147 156 else 148 157 LogIt "------------------INTERACTIVE------------------" 1 149 mondorestore - -interactive158 mondorestore -Z interactive $mondoopt 150 159 fi 151 160 152 [ -e "/tmp/DO-MBR-PLEASE" ] && LogIt "PLEASE RUN 'mondorestore - -mbr' NOW TO INITIALIZE YOUR BOOT SECTOR." 1161 [ -e "/tmp/DO-MBR-PLEASE" ] && LogIt "PLEASE RUN 'mondorestore -Z mbr' NOW TO INITIALIZE YOUR BOOT SECTOR." 1 153 162 154 163 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.