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-stable
Commits
6f755357
Commit
6f755357
authored
Mar 05, 2002
by
Leigh B. Stoller
Browse files
Minor fix to last revision; changed the names in one place but not the
other!
parent
077439a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/node_reboot.in
View file @
6f755357
...
...
@@ -339,7 +339,7 @@ sub RebootNode {
# punch the power button.
#
if
(
WaitTillDead
(
$pc
)
==
0
)
{
TBSetNodeEventState
(
$pc
,
TBDB_
EVENTTYP
E_REBOOT
);
TBSetNodeEventState
(
$pc
,
TBDB_
NODESTAT
E_REBOOT
);
exit
(
0
);
}
...
...
tbsetup/power.in
View file @
6f755357
...
...
@@ -202,7 +202,7 @@ foreach my $power_id (keys %outlets) {
if
(
!
$errors
)
{
foreach
my
$node
(
@nodes
)
{
print
"
$node
now
",(
$op
eq
"
cycle
"
?
"
rebooting
"
:
$op
),"
\n
";
TBSetNodeEventState
(
$node
,
TBDB_
EVENTTYP
E_REBOOT
);
TBSetNodeEventState
(
$node
,
TBDB_
NODESTAT
E_REBOOT
);
}
}
else
{
$exitval
+=
$errors
;
...
...
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