aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rwxr-xr-xcommon/scripts/service-check-gfx.sh3
-rw-r--r--common/scripts/service-check-nogfx.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/common/scripts/service-check-gfx.sh b/common/scripts/service-check-gfx.sh
index f9bfa87..726035a 100755
--- a/common/scripts/service-check-gfx.sh
+++ b/common/scripts/service-check-gfx.sh
@@ -9,6 +9,9 @@ REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service weston
ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
RESULT="unknown"
+# add delay for services to fully start
+sleep 5
+
for i in ${ALL} ; do
echo -e "\n\n########## Test for service ${i} being active ##########\n\n"
diff --git a/common/scripts/service-check-nogfx.sh b/common/scripts/service-check-nogfx.sh
index 5b74ff1..16ecbee 100644
--- a/common/scripts/service-check-nogfx.sh
+++ b/common/scripts/service-check-nogfx.sh
@@ -9,6 +9,9 @@ REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service blueto
ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
RESULT="unknown"
+# add delay for services to fully start
+sleep 5
+
for i in ${ALL} ; do
echo -e "\n\n########## Test for service ${i} being active ##########\n\n"