summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-12-03 11:44:26 +0100
committerSimon Rettberg2021-12-03 11:44:26 +0100
commitbce642607d1767a511877b6bb2d0c3c413ef5418 (patch)
treeb0dd8aec061b6994c57d36683d31a07d26e67c2b
parentdracut: Remove systemd-ask-password files (diff)
downloadsystemd-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-xmodules.d/slx-clock/scripts/ntp-sync.sh3
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