commit | a6bc21bad0a57a0318acf09920fa6ee89e6d6b95 | [log] [tgz] |
---|---|---|
author | tom <tom@onlab.us> | Tue Sep 30 09:39:02 2014 -0700 |
committer | tom <tom@onlab.us> | Tue Sep 30 09:39:02 2014 -0700 |
tree | 8ec64bdf0227aa6665ba39a5b87da872a2b8846b | |
parent | 890a43b04180fee9b1f0ee4da8ef10eebbbb3655 [diff] [blame] |
Added -w option to the onos CLI.
diff --git a/tools/test/bin/onos b/tools/test/bin/onos index 74bf1cf..76b5c15 100755 --- a/tools/test/bin/onos +++ b/tools/test/bin/onos
@@ -3,5 +3,7 @@ # ONOS remote command-line client. #------------------------------------------------------------------------------- +[ "$1" = "-w" ] && shift && onos-wait-for-start $1 + [ -n "$1" ] && OCI=$1 && shift -client -h $OCI "$@" +client -h $OCI "$@" 2>/dev/null