summaryrefslogtreecommitdiffstats
path: root/common/scripts/service-check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/service-check.sh')
-rwxr-xr-xcommon/scripts/service-check.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/common/scripts/service-check.sh b/common/scripts/service-check.sh
deleted file mode 100755
index 4dc0a25..0000000
--- a/common/scripts/service-check.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-REQUIREDSOCKETS="cynara.socket dbus.socket security-manager.socket"
-REQUIREDSERVICES="afm-system-daemon.service afm-user-daemon.service connman.service ofono.service weston.service HomeScreen.service lightmediascanner.service bluetooth.service"
-
-ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
-RESULT="unknown"
-
-for i in ${ALL} ; do
- echo "########## Test for service ${i} being active ##########"
- systemctl is-active ${i} >/dev/null 2>&1
- if [ $? -eq 0 ] ; then
- RESULT="pass"
- else
- systemctl status ${i} || true
- RESULT="fail"
- fi
- echo "########## Result for service ${i} : $RESULT ##########"
- lava-test-case ${i} --result ${RESULT}
-done
-
-exit 0 \ No newline at end of file