Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
ce719f37
Commit
ce719f37
authored
Aug 08, 2005
by
Timothy Stack
Browse files
Put brainstem-reset call after running pilot, running the reset before
starting pilot seemed to cause problems.
parent
154c6bcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
robots/primotion/pilot-wrapper.sh
View file @
ce719f37
...
@@ -89,11 +89,6 @@ while (1) {
...
@@ -89,11 +89,6 @@ while (1) {
if
(
$childpid
< 0
)
;
if
(
$childpid
< 0
)
;
if
(
$childpid
==
0
)
{
if
(
$childpid
==
0
)
{
$retval
=
system
(
"
$BINDIR
/brainstem-reset"
)
;
if
(
$retval
!=
0
)
{
print
"WARNING: brainstem reset failed (
$retval
)!!!
\n
"
;
}
sleep
(
1
)
;
sleep
(
1
)
;
exec
(
"
$BINDIR
/garcia-pilot -d -l /var/emulab/logs/pilot.log"
)
;
exec
(
"
$BINDIR
/garcia-pilot -d -l /var/emulab/logs/pilot.log"
)
;
...
@@ -102,6 +97,13 @@ while (1) {
...
@@ -102,6 +97,13 @@ while (1) {
}
}
waitpid
(
$childpid
, 0
)
;
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
)
;
exit
(
0
)
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment