Commit ce719f37 authored by Timothy Stack's avatar Timothy Stack
Browse files

Put brainstem-reset call after running pilot, running the reset before

starting pilot seemed to cause problems.
parent 154c6bcd
......@@ -89,11 +89,6 @@ while (1) {
if ($childpid < 0);
if ($childpid == 0) {
$retval = system("$BINDIR/brainstem-reset");
if ($retval != 0) {
print "WARNING: brainstem reset failed ($retval)!!!\n";
}
sleep(1);
exec("$BINDIR/garcia-pilot -d -l /var/emulab/logs/pilot.log");
......@@ -102,6 +97,13 @@ while (1) {
}
waitpid($childpid, 0);
sleep(1);
sleep(3);
$retval = system("$BINDIR/brainstem-reset");
if ($retval != 0) {
print "WARNING: brainstem reset failed ($retval)!!!\n";
}
sleep(3);
}
exit(0);
Supports Markdown
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