Changeset 1469 in MondoRescue
- Timestamp:
- May 30, 2007, 10:49:52 AM (18 years ago)
- Location:
- branches/stable/mindi
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/README.bkphw
r1467 r1469 25 25 ldconfig 26 26 perl -pi -e 's~^HOME=.*~HOME="/usr/local/bin"~' /usr/local/bin/cpqacuxe 27 perl -pi -e '/LD_LIBRARY_PATH/d' /usr/local/bin/cpqacuxe 27 sed -i -e '/LD_LIBRARY_PATH/d' /usr/local/bin/cpqacuxe 28 29 You also may have to remove the LD_ASSUME_KERNEL line in that script. 28 30 29 31 You're now ready to check your configuration by running mindi-bkphw. 32 30 33 In order to have a working hponcfg binary you also need to install the hprsm/hpasm packages from HP Web site. Refer to http://welcome.hp.com/country/us/en/support.html?pageDisplay=drivers 31 34 -
branches/stable/mindi/install.sh
r1280 r1469 122 122 # Substitute variables for mindi 123 123 sed -e "s~^MINDI_PREFIX=XXX~MINDI_PREFIX=$sublocal~" -e "s~^MINDI_CONF=YYY~MINDI_CONF=$subconf~" -e "s~^MINDI_VER=VVV~MINDI_VER=$MINDIVER~" -e "s~^MINDI_REV=RRR~MINDI_REV=$MINDIREV~" -e "s~^MINDI_LIB=LLL~MINDI_LIB=$sublocallib~" mindi > $local/sbin/mindi 124 sed -e "s~^my \$mindiconf=YYY~my \$mindiconf= $subconf;~" mindi-bkphw > $local/sbin/mindi-bkphw124 sed -e "s~^my \$mindiconf=YYY~my \$mindiconf=\"$subconf\";~" mindi-bkphw > $local/sbin/mindi-bkphw 125 125 chmod 755 $local/sbin/mindi $local/sbin/mindi-bkphw 126 126 install -m 755 parted2fdisk.pl $local/sbin -
branches/stable/mindi/mindi-bkphw
r1467 r1469 6 6 use strict; 7 7 use AppConfig; 8 use File::Basename; 8 9 9 10 # Handling Configuration files … … 12 13 my $file2 = "$mindiconf/mindi.conf"; 13 14 my $tool = ""; 15 my $tooldir = ""; 14 16 my $ret = 0; 15 17 … … 38 40 next if ($tool =~ /^#/); 39 41 chomp($tool); 42 $tooldir = dirname($tool); 40 43 if (! (-e $tool)) { 41 44 print "You should install the SmartStart Scripting toolkit tool $tool\nto benefit from mindi's enhanced hardware support\n"; … … 46 49 } 47 50 if ($tool =~ /conrep/) { 48 $ret = system(" $tool -s -f".$config->get("mindi_cache_dir")."/conrep.dat");51 $ret = system("(cd $tooldir ; $tool -s -f".$config->get("mindi_cache_dir")."/conrep.dat)"); 49 52 } 50 53 if ($tool =~ /cpqacuxe/) {
Note:
See TracChangeset
for help on using the changeset viewer.