Changeset 1761 in MondoRescue for branches/2.2.5/mindi
- Timestamp:
- Nov 1, 2007, 8:27:45 PM (17 years ago)
- Location:
- branches/2.2.5/mindi
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/README.proliant
r1525 r1761 1 $Id$ 2 1 3 If you're making a backup with mondoarchive on a Proliant system that you want to be able to restore using the Virtual Media function of Proliants, then you have to ensure that the required drivers will be available at restore time. 2 4 In order to ensure that, you may want to do on 2.2.x versions: -
branches/2.2.5/mindi/install.sh
r1759 r1761 77 77 install -m 755 analyze-my-lvm $locallib/mindi 78 78 install -m 644 isolinux.cfg msg-txt sys-disk.raw.gz isolinux-H.cfg syslinux.cfg syslinux-H.cfg dev.tgz $locallib/mindi 79 install -m 644 deplist.txt udev.files $conf79 install -m 644 deplist.txt udev.files proliant.files $conf 80 80 81 81 # Substitute variables for mindi 82 82 sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$sublocal~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$subconf~" -e "s~^MINDI_LIB=LLL~MINDI_LIB=$sublocallib~" mindi > $local/sbin/mindi 83 sed -e "s~= "YYY"~= "$subconf"~" mindi-bkphw > $local/sbin/mindi-bkphw 83 84 chmod 755 $local/sbin/mindi 84 85 install -m 755 parted2fdisk.pl $local/sbin -
branches/2.2.5/mindi/mindi
r1760 r1761 2803 2803 fi 2804 2804 fi 2805 # Management of potential HW info (Proliant only at the moment) 2806 mindi-bkphw $CACHE_LOC $MINDI_CONF | tee -a $LOGFILE 2807 if [ -d $CACHE_LOC/bkphw ]; then 2808 LogIt "Hardware Information found and saved ..." 2809 cp -rp $CACHE_LOC/bkphw . 2810 lis=`grep -Ev '^#' $CACHE_LOC/tools.files` 2811 LocateDeps $lis > $MINDI_TMP/tools.lis 2812 cp --parents -Rdf $lis `sort -u $MINDI_TMP/tools.lis` . 2813 if [ -f $CACHE_LOC/mindi-rsthw ]; then 2814 mv -f $CACHE_LOC/mindi-rsthw . 2815 chmod 755 ./mindi-rsthw 2816 fi 2817 rm -f $MINDI_TMP/tools.lis $CACHE_LOC/tools.files 2818 fi 2819 2805 2820 for w in cdrom floppy groovy-stuff ; do 2806 2821 mkdir -p mnt/$w -
branches/2.2.5/mindi/rootfs/sbin/init
r1759 r1761 291 291 } 292 292 293 293 RstHW() { 294 295 # Restore the HW configuration if available (NOT by default) 296 answer="NO" 297 298 if [ -x ./mindi-rsthw ]; then 299 grep -q RESTORE /proc/cmdline 300 if [ "$?" -ne 0 ]; then 301 clear 302 echo "*********************************************************************" 303 echo "Do you want to restore the HW configuration of the original machine ?" 304 echo "(This may dammage your hardware so be sure to check twice before saying yes)" 305 echo "*********************************************************************" 306 echo "Please confirm by typing YES exactly as written here (NO by default)" 307 echo -n "--> " 308 read answer 309 else 310 answer="YES" 311 fi 312 if [ "$answer" -eq "YES" ] ; then 313 ./mindi-rsthw 314 fi 315 fi 316 } 294 317 295 318 … … 529 552 530 553 EnableCcissIfAppropriate 554 RstHW 531 555 #------------------------------- 532 556 #WHOLIVESINAPINEAPPLEUNDERTHESEA#;# --- don't touch this :)
Note:
See TracChangeset
for help on using the changeset viewer.