Brian O'Connor

Reverting onos-service to use cd / pwd instead of readlink

The options (namely -e) are not consistent between Mac OS and Linux.

Change-Id: I2e9ac1d170499f068a925d014cf1b62d5144e5ca
......@@ -16,7 +16,7 @@ set -u # exit on undefined variable
# If ONOS_HOME is set, respect its value.
# If ONOS_HOME is not set (e.g. in the init or service environment),
# set it based on this script's path.
ONOS_HOME=${ONOS_HOME:-$(readlink -e `dirname $0`/..)}
ONOS_HOME=${ONOS_HOME:-$(cd $(dirname $0)/.. >/dev/null 2>&1 && pwd)}
KARAF_ARGS=
SYS_APPS=drivers
ONOS_APPS=${ONOS_APPS:-} # Empty means don't activate any new apps
......