diff options
author | vg <vg@devys.org> | 2018-09-14 11:39:30 +0200 |
---|---|---|
committer | vg <vg@devys.org> | 2018-09-14 11:39:30 +0200 |
commit | 9e43678b05249510fbfb3b6b7183d0aa60c58681 (patch) | |
tree | 36638917c08c5a5cf8fdb8c786a33c78c43dc3de /debian/install_files/50-ntp.conf | |
parent | 6ea9967850b0c82beec1b56d231b41f5424d8a32 (diff) | |
download | debian-dhcpcd-master.tar.gz debian-dhcpcd-master.tar.bz2 debian-dhcpcd-master.zip |
Diffstat (limited to 'debian/install_files/50-ntp.conf')
-rw-r--r-- | debian/install_files/50-ntp.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/install_files/50-ntp.conf b/debian/install_files/50-ntp.conf new file mode 100644 index 0000000..1544ad7 --- /dev/null +++ b/debian/install_files/50-ntp.conf @@ -0,0 +1,14 @@ +# Use the more adapted debian script defined by the ntp package directly if it +# is available. + +if [ -f /etc/dhcp/dhclient-exit-hooks.d/ntp ]; then + . /etc/dhcp/dhclient-exit-hooks.d/ntp +fi + +# timesyncd is supported too +if [ -f /etc/dhcp/dhclient-exit-hooks.d/timesyncd ]; then + . /etc/dhcp/dhclient-exit-hooks.d/timesyncd +fi + +# there is no script for openntpd readily available +# there is no script for chrony readily available |