summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-clock/scripts/ntp-sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/slx-clock/scripts/ntp-sync.sh')
-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