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
99a907dd
Commit
99a907dd
authored
Dec 22, 2004
by
Leigh B. Stoller
Browse files
New I forgot something; When coming out of admin mode, wait for just ISUP.
parent
3d6c36b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/node_admin.in
View file @
99a907dd
...
...
@@ -182,12 +182,22 @@ DBQueryFatal("update nodes set startupcmd='', startstatus='none' ".
#
if
(
$reboot
)
{
if
(
$waitmode
)
{
$
StateWait::
debug
=
0
;
#
# Initialize the statewait library.
#
my
@states
=
(
TBDB_NODESTATE_MFSSETUP
(),
TBDB_NODESTATE_ISUP
()
);
my
@states
=
();
my
@finished
=
();
my
@failed
=
();
#
# Only wait for MFSSETUP when going into the MFS. When coming out
# of MFS, just wait for generic ISUP.
#
push
(
@states
,
TBDB_NODESTATE_MFSSETUP
())
if
(
$onoff
eq
"
on
");
push
(
@states
,
TBDB_NODESTATE_ISUP
());
if
(
initStateWait
(
\
@states
,
@nodes
))
{
die
("
*** $0:
\n
"
.
...
...
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