From 18024e7006027095430511893ee374a1ec0b596e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 29 Aug 2014 17:49:44 +0200 Subject: do not fail on time difference more than 1000 seconds --- 50-ntpdate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '50-ntpdate') diff --git a/50-ntpdate b/50-ntpdate index 0c6f5b4..4e7d89d 100644 --- a/50-ntpdate +++ b/50-ntpdate @@ -1,10 +1,10 @@ #!/bin/sh - + case "${reason}" in BOUND|REBIND|REBOOT|RENEW|TIMEOUT|STATIC) # sync time as soon as connection is up # this reads nameserver from /etc/ntp.conf - ntpd -q + ntpd --quit --panicgate # alternatively use ntpdate and give hostname #ntpdate -u pool.ntp.org ;; -- cgit v1.2.3-54-g00ecf