onos
355 Bytes
#!/bin/bash
# -----------------------------------------------------------------------------
# ONOS command-line client
# -----------------------------------------------------------------------------
export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-7-openjdk-amd64/}
cd $(dirname $0)/../apache-karaf-$KARAF_VERSION/bin
./client -h localhost -u karaf "$@"