andrew@onlab.us

Merge branch 'master' of ssh://gerrit.onosproject.org:29418/onos

...@@ -3,4 +3,7 @@ ...@@ -3,4 +3,7 @@
3 # Remotely kills and stops the ONOS service on the specified node. 3 # Remotely kills and stops the ONOS service on the specified node.
4 # ----------------------------------------------------------------------------- 4 # -----------------------------------------------------------------------------
5 5
6 +[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
7 +. $ONOS_ROOT/tools/build/envDefaults
8 +
6 onos-kill "${1:-$OCI}" && onos-service "${1:-$OCI}" stop 9 onos-kill "${1:-$OCI}" && onos-service "${1:-$OCI}" stop
......