Changeset 2249 in MondoRescue
- Timestamp:
- Jul 5, 2009, 2:42:21 AM (16 years ago)
- Location:
- branches/2.2.9/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/README.bootparam
r2189 r2249 27 27 Add those modules to the list of modules to load systematically 28 28 29 net 30 Activate network support 31 29 32 nodmraid 30 33 Do not try to start dmraid support … … 42 45 Do not resize partitions using a multiplication factor of (New disk size)/(Old disk size) to use your unallocated hard disk space 43 46 47 script=/path/to/script 48 Execute a final script before rebooting the machine at the end of the restoration. Could be an NFS shared script e.g. 49 44 50 textonly 45 51 do not call any Newt library routines; this is unattractive but valuable if you find your Newt library has bugs in it or on ia64 … … 48 54 Use that USB device name as the place to look for backup content. The way drivers are loaded may lead that to the fact you have a different device name at restore time, compared to the one you used at backup time, making mondorestore unable to use the right device natively. This helper corrects that. Pass to it the device name, not the partition name. Example: usb=/dev/sdb 49 55 50 net51 Activate network support52 53 56 ----------------- 54 57 -
branches/2.2.9/mindi/rootfs/sbin/init
r2212 r2249 831 831 LogIt "I think this media has no archives on it." 832 832 fi 833 if ! [ "`grep -i "script=" /proc/cmdline`" ] ; then 834 for i in `cat /proc/cmdline` ; do 835 echo $i | grep -qi script= && script=`echo $i | cut -d= -f2` 836 done 837 if [ -x $script ]; then 838 echo "Executing final script $script" 839 LogIt "Executing final script $script" 840 $script 841 fi 842 fi 833 843 if grep "RESTORE" /proc/cmdline > /dev/null 2> /dev/null ; then 834 844 echo "Rebooting in 10 seconds automatically as per reboot order"
Note:
See TracChangeset
for help on using the changeset viewer.