diff options
author | Simon Rettberg | 2023-01-05 11:24:50 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-05 11:24:50 +0100 |
commit | 718cc5fe4860338e0e2f75a8f12ca03d02b00e25 (patch) | |
tree | d7a8bf7e4ca8159a0e27328101819a8f432ff257 | |
parent | [busybox] Disable NFS support (diff) | |
download | systemd-init-718cc5fe4860338e0e2f75a8f12ca03d02b00e25.tar.gz systemd-init-718cc5fe4860338e0e2f75a8f12ca03d02b00e25.tar.xz systemd-init-718cc5fe4860338e0e2f75a8f12ca03d02b00e25.zip |
[slx-clock] ntpdate: -p is no longer supported
-rwxr-xr-x | modules.d/slx-clock/scripts/ntp-sync.sh | 2 |
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 |