summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-05-27 09:54:54 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-05-27 09:54:54 +0200
commita5cb12e876c4f5146ce604fe4c3d96d7739f37e4 (patch)
treeede3c81aee7ee21c548a8f76d8fe98550f5396a4
parentca29e2f3ea556c40e8d60fbf57676da71b4f39ce (diff)
downloaddhcpcd-hook-ntpdate-a5cb12e876c4f5146ce604fe4c3d96d7739f37e4.tar.gz
dhcpcd-hook-ntpdate-a5cb12e876c4f5146ce604fe4c3d96d7739f37e4.tar.zst
update comment
-rw-r--r--50-ntpdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/50-ntpdate b/50-ntpdate
index f9e980a..4322380 100644
--- a/50-ntpdate
+++ b/50-ntpdate
@@ -1,8 +1,8 @@
#!/bin/sh
-# Sync time from pool.ntp.org as soon as connection is up
case "${reason}" in
BOUND|INFORM|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