Commit 559731dc authored by Mike Hibler's avatar Mike Hibler
Browse files

Bug fix: do not try to do anything when invoked with reset/shutdown.

parent 54368857
......@@ -39,6 +39,14 @@ MFSPROJDIR=/proj/emulab-ops
# defaults will be collect=0 check=0
#
# XXX compat with other Emulab rc.* scripts
# We only run on a "boot" invocation, not shutdown/reconfig/reset.
#
if [ $# -gt 0 -a "$1" != "boot" ]; then
exit 0
fi
#
# XXX see if hwinfo returns anything. If not, assume node checks are not
# supported and don't bother with the rest.
......
Markdown is supported
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