summaryrefslogtreecommitdiffstats
path: root/odlsli/src/main/scripts/startODL.sh
diff options
context:
space:
mode:
Diffstat (limited to 'odlsli/src/main/scripts/startODL.sh')
-rw-r--r--odlsli/src/main/scripts/startODL.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/odlsli/src/main/scripts/startODL.sh b/odlsli/src/main/scripts/startODL.sh
index 5ca40796..3e528216 100644
--- a/odlsli/src/main/scripts/startODL.sh
+++ b/odlsli/src/main/scripts/startODL.sh
@@ -63,5 +63,6 @@ then
echo "Installed at `date`" > ${CCSDK_HOME}/.installed
fi
-# Start client to force a wait on state of karaf server
-exec ${ODL_HOME}/bin/client
+# Wait on java
+pid=$(ps auxwww | grep java | grep -v grep | awk '{print $2}')
+exec tail --pid=$pid -f /dev/null