From bce642607d1767a511877b6bb2d0c3c413ef5418 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 3 Dec 2021 11:44:26 +0100 Subject: [slx-clock] Make timesync synchronous It seems this is quite slow at times, so it might get killed by switchroot before it's finished. to be optimized. --- modules.d/slx-clock/scripts/ntp-sync.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.d/slx-clock/scripts/ntp-sync.sh b/modules.d/slx-clock/scripts/ntp-sync.sh index 887d5b13..d51ba6bd 100755 --- a/modules.d/slx-clock/scripts/ntp-sync.sh +++ b/modules.d/slx-clock/scripts/ntp-sync.sh @@ -47,9 +47,10 @@ ntp_sync() { fi fi fi + echo "Timesync finished" } -ntp_sync & +ntp_sync true -- cgit v1.2.3-55-g7522