diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-18 13:39:22 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-18 13:39:22 +0100 |
commit | dab6a6d3d9a805090f81ec6deff7ced9411bea6b (patch) | |
tree | 9d9ce44e1e822d622e1abad9d0263f915dc8e73f /50-ntpdate | |
parent | fd05cd131a896378f8d99708b5f662728dadc8fc (diff) | |
download | dhcpcd-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-ntpdate | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |