aboutsummaryrefslogtreecommitdiffstats
path: root/common/scripts/service-check-nogfx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/service-check-nogfx.sh')
-rwxr-xr-xcommon/scripts/service-check-nogfx.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/scripts/service-check-nogfx.sh b/common/scripts/service-check-nogfx.sh
index 62d1b3d..e893cdb 100755
--- a/common/scripts/service-check-nogfx.sh
+++ b/common/scripts/service-check-nogfx.sh
@@ -6,6 +6,9 @@ REQUIREDSERVICES="afm-system-daemon.service afm-user-daemon.service connman.serv
ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
RESULT="unknown"
+# add delay for services to fully start
+sleep 5
+
for i in ${ALL} ; do
echo -e "\n########## Test for service ${i} being active ##########\n"
systemctl is-active ${i} >/dev/null 2>&1