summaryrefslogtreecommitdiff
path: root/user/dhcpcd/fix-chrony-conf-location.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-07-05 22:52:23 -0700
committerDan Theisen <djt@hxx.in>2018-07-06 02:34:42 -0700
commit5b7b4d541766dcaa27db11fc82a5114790828deb (patch)
treeda97aafe9de37eaa211552bb96284941ae8b8d8c /user/dhcpcd/fix-chrony-conf-location.patch
parentc48c8a420b98dbee6779508e31edc3886c915961 (diff)
downloadpackages-5b7b4d541766dcaa27db11fc82a5114790828deb.tar.gz
packages-5b7b4d541766dcaa27db11fc82a5114790828deb.tar.bz2
packages-5b7b4d541766dcaa27db11fc82a5114790828deb.tar.xz
packages-5b7b4d541766dcaa27db11fc82a5114790828deb.zip
user/dhcpcd: import, take, clean up
Diffstat (limited to 'user/dhcpcd/fix-chrony-conf-location.patch')
-rw-r--r--user/dhcpcd/fix-chrony-conf-location.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/dhcpcd/fix-chrony-conf-location.patch b/user/dhcpcd/fix-chrony-conf-location.patch
new file mode 100644
index 000000000..b75df9f37
--- /dev/null
+++ b/user/dhcpcd/fix-chrony-conf-location.patch
@@ -0,0 +1,11 @@
+--- a/hooks/50-ntp.conf
++++ b/hooks/50-ntp.conf
+@@ -17,7 +17,7 @@
+ # above examples.
+
+ : ${ntp_confs:=ntp.conf ntpd.conf chrony.conf}
+-: ${ntp_conf_dirs=/etc /usr/pkg/etc /usr/local/etc}
++: ${ntp_conf_dirs=/etc /etc/chrony /usr/pkg/etc /usr/local/etc}
+ ntp_conf_dir="$state_dir/ntp.conf"
+
+ # If NTP_CONF is not set, work out a good default