Commit e413e888 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Set startstatus to "none".

parent c08e803b
......@@ -187,7 +187,7 @@ if (! &ir_exists("/startup")) {
foreach (split("\n",&ir_get("/startup"))) {
($node,$cmdline) = /^([^ ]+)(.*)$/;
$cmdline =~ s/^ //;
$sth = $dbh->prepare("UPDATE nodes set startupcmd = \"$cmdline\" where node_id = \"$node\"");
$sth = $dbh->prepare("UPDATE nodes set startupcmd = \"$cmdline\", startstatus = \"none\" where node_id = \"$node\"");
$sth->execute;
$sth->finish;
}
......
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