summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-01-05 11:24:50 +0100
committerSimon Rettberg2023-01-05 11:24:50 +0100
commit718cc5fe4860338e0e2f75a8f12ca03d02b00e25 (patch)
treed7a8bf7e4ca8159a0e27328101819a8f432ff257
parent[busybox] Disable NFS support (diff)
downloadsystemd-init-718cc5fe4860338e0e2f75a8f12ca03d02b00e25.tar.gz
systemd-init-718cc5fe4860338e0e2f75a8f12ca03d02b00e25.tar.xz
systemd-init-718cc5fe4860338e0e2f75a8f12ca03d02b00e25.zip
[slx-clock] ntpdate: -p is no longer supported
-rwxr-xr-xmodules.d/slx-clock/scripts/ntp-sync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/slx-clock/scripts/ntp-sync.sh b/modules.d/slx-clock/scripts/ntp-sync.sh
index d51ba6bd..d9c0e7bc 100755
--- a/modules.d/slx-clock/scripts/ntp-sync.sh
+++ b/modules.d/slx-clock/scripts/ntp-sync.sh
@@ -12,7 +12,7 @@ ntp_sync() {
done
local SUCCESS=
for SERVER in $SLX_DHCP_NTP; do
- if ntpdate -u -p 2 "$SERVER"; then
+ if ntpdate -u "$SERVER"; then
echo "Successfully queried $SERVER for time."
if [ "x$SLX_BIOS_CLOCK" = "xlocal" ]; then
usleep 100000