diff options
author | Simon Rettberg | 2021-12-03 11:44:26 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-12-03 11:44:26 +0100 |
commit | bce642607d1767a511877b6bb2d0c3c413ef5418 (patch) | |
tree | b0dd8aec061b6994c57d36683d31a07d26e67c2b | |
parent | dracut: Remove systemd-ask-password files (diff) | |
download | systemd-init-bce642607d1767a511877b6bb2d0c3c413ef5418.tar.gz systemd-init-bce642607d1767a511877b6bb2d0c3c413ef5418.tar.xz systemd-init-bce642607d1767a511877b6bb2d0c3c413ef5418.zip |
[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.
-rwxr-xr-x | modules.d/slx-clock/scripts/ntp-sync.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |