aboutsummaryrefslogtreecommitdiffstats
path: root/common/scripts/service-check-gfx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/scripts/service-check-gfx.sh')
-rwxr-xr-xcommon/scripts/service-check-gfx.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/scripts/service-check-gfx.sh b/common/scripts/service-check-gfx.sh
index 2a5353b..dfde77b 100755
--- a/common/scripts/service-check-gfx.sh
+++ b/common/scripts/service-check-gfx.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