summaryrefslogtreecommitdiffstats
path: root/50-ntpdate
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-18 13:39:22 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-18 13:39:22 +0100
commitdab6a6d3d9a805090f81ec6deff7ced9411bea6b (patch)
tree9d9ce44e1e822d622e1abad9d0263f915dc8e73f /50-ntpdate
parentfd05cd131a896378f8d99708b5f662728dadc8fc (diff)
downloaddhcpcd-hook-ntpdate-dab6a6d3d9a805090f81ec6deff7ced9411bea6b.tar.gz
dhcpcd-hook-ntpdate-dab6a6d3d9a805090f81ec6deff7ced9411bea6b.tar.zst
do not act on INFORM
Diffstat (limited to '50-ntpdate')
-rw-r--r--50-ntpdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/50-ntpdate b/50-ntpdate
index 4322380..0c6f5b4 100644
--- a/50-ntpdate
+++ b/50-ntpdate
@@ -1,14 +1,14 @@
#!/bin/sh
case "${reason}" in
- BOUND|INFORM|REBIND|REBOOT|RENEW|TIMEOUT|STATIC)
+ BOUND|REBIND|REBOOT|RENEW|TIMEOUT|STATIC)
# sync time as soon as connection is up
# this reads nameserver from /etc/ntp.conf
ntpd -q
# alternatively use ntpdate and give hostname
#ntpdate -u pool.ntp.org
;;
- PREINIT|EXPIRE|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP)
+ PREINIT|EXPIRE|INFORM|FAIL|IPV4LL|NAK|NOCARRIER|RELEASE|STOP)
# do nothing here...
;;
esac