Skip to content
Snippets Groups Projects
Commit 40f17911 authored by Esben Haabendal's avatar Esben Haabendal
Browse files

openharmony-standard: Wait for param_service to be ready


Signed-off-by: default avatarEsben Haabendal <esben@geanix.com>
parent 1c7837da
No related branches found
No related tags found
1 merge request!104CI: Run ACTS against QEMU machine
...@@ -104,6 +104,10 @@ STARTUP_CMD_SLEEP=2 ...@@ -104,6 +104,10 @@ STARTUP_CMD_SLEEP=2
if systemctl -q is-enabled param.service; then if systemctl -q is-enabled param.service; then
/system/bin/param_service & /system/bin/param_service &
sleep "$STARTUP_CMD_SLEEP" sleep "$STARTUP_CMD_SLEEP"
while [ "$(setparam foobar 42)" != "setparam foobar 42 success" ] ; do
echo "param_service not ready"
sleep 1
done
fi fi
# Explicitly set default value to silence error message about parameter not being set # Explicitly set default value to silence error message about parameter not being set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment