Changeset 1777 in MondoRescue for branches/2.2.5/mindi
- Timestamp:
- Nov 9, 2007, 1:31:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi-bkphw
r1771 r1777 1 1 #!/usr/bin/perl -w 2 # 3 # $Id$ 2 4 # 3 5 # Backup the hardware configuration on machine supporting it … … 52 54 } 53 55 if ($tool =~ /\/conrep$/) { 54 $ret = system(" (cd $tooldir ; $tool -s -f$bkpdir/conrep.dat)");55 print SCRIPT "(cd $tooldir ; $tool -l -f$bkpdir/conrep.dat) ");56 $ret = system("cd $tooldir ; $tool -s -f$bkpdir/conrep.dat"); 57 print SCRIPT "(cd $tooldir ; $tool -l -f$bkpdir/conrep.dat)\n"); 56 58 print TOOLS "$tool.xml\n"; 57 59 } 58 60 if ($tool =~ /\/cpqacuxe$/) { 59 61 $ret = system("$tool -c $bkpdir/cpqacuxe.dat"); 60 print SCRIPT "$tool -i $bkpdir/cpqacuxe.dat )");62 print SCRIPT "$tool -i $bkpdir/cpqacuxe.dat\n"); 61 63 print TOOLS "$tooldir/bld\n"; 62 64 } 63 65 if ($tool =~ /\/hponcfg$/) { 64 66 $ret = system("$tool -w $bkpdir/hponcfg.dat"); 65 print SCRIPT "$tool -r $bkpdir/hponcfg.dat ");67 print SCRIPT "$tool -r $bkpdir/hponcfg.dat\n"; 66 68 } 67 69 if ($tool =~ /\.scexe$/) { 68 print SCRIPT "$tool ");70 print SCRIPT "$tool\n"); 69 71 } 70 72 if ($ret != 0) {
Note:
See TracChangeset
for help on using the changeset viewer.