From 718cc5fe4860338e0e2f75a8f12ca03d02b00e25 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 5 Jan 2023 11:24:50 +0100 Subject: [slx-clock] ntpdate: -p is no longer supported --- modules.d/slx-clock/scripts/ntp-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-55-g7522