Skip to content
GitLab
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
9c74c19a
Commit
9c74c19a
authored
Nov 18, 2012
by
Mike Hibler
Browse files
Replace an exec of the perl os_select script with a call to the OSSelect().
parent
5a2810f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
event/stated/stated.in
View file @
9c74c19a
...
...
@@ -1139,12 +1139,10 @@ sub handleCtrlEvent($$) {
next
;
};
/^$TBRESET$/
&&
do
{
#
# Clear next_boot_path with os_select.
#
$cmd
=
"
$osselect
-d -c -1
$node
";
system
(
$cmd
)
and
# Clear next_boot_path.
if
(
$nodeobj
->
OSSelect
(
undef
,
"
next_boot_osid
",
1
)
!=
0
)
{
notify
("
$node
/
$event
: Could not clear next_boot_path!
\n
");
}
info
("
Performed
$TBRESET
for
$node
\n
");
next
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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