Commit d7a3790c authored by Leigh Stoller's avatar Leigh Stoller

Add option to use from web, to turn off script mode and revert

to normal newnode mode.
parent ba174ea0
......@@ -109,7 +109,7 @@ my $noreboot = 0;
my $quiet = 0;
my $force_unconnected_interfaces = 0;
my %options = ();
if (! getopts("fnq", \%options)) {
if (! getopts("fnqw", \%options)) {
usage();
}
if ($options{f}) {
......@@ -121,6 +121,11 @@ if ($options{'n'}) {
if ($options{'q'}) {
$quiet = 1;
}
if ($options{'w'}) {
# See the web page that calls this. From that interface, we
# use the old style newnode.
$useScriptFeature = 0;
}
#
# We seem to have to do this so that ssh gets proper root permissions to read
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment