Displaying 1 result from an estimated 1 matches for "etherfile".
Did you mean:
otherfile
2009 Oct 06
1
[patch] PXE-On-A-Disk: etherboot2ethersel.pl patched for etherboot-5.4.3+dfgs
...;
+ die "Sorry, there must be 2 arguments on the command line\n";
}
-$etherdir = $ARGV[0];
-$outdir = $ARGV[1];
+if ($#ARGV == 2)
+{ $debug = "true"; $etherdir = $ARGV[1]; $outdir = $ARGV[2]; }
+else # $#ARGV == 1
+{ $etherdir = $ARGV[0]; $outdir = $ARGV[1]; }
my $etherfile;
my $syscfgfile;
@@ -123,8 +126,7 @@
($drivername, $leftover) =
/^family\s+drivers\/net\/(\S+)/;
if (defined $drivername)
{
- # Uncomment lines with "###" if you are
debugging, for more verbosity.
-...