aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd/fix-chrony-conf-location.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-09-27 17:48:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-27 17:49:19 +0000
commit5ba959bf43bef497d4256c4201890f473bc7b601 (patch)
tree4be3cfb5e363b814c47a50b3a1f981d2c645a273 /main/dhcpcd/fix-chrony-conf-location.patch
parenta358ff96b686062d752ea238199ee0c8ba46040b (diff)
downloadaports-5ba959bf43bef497d4256c4201890f473bc7b601.tar.bz2
aports-5ba959bf43bef497d4256c4201890f473bc7b601.tar.xz
main/dhcpcd: fix chrony.conf location
fix dhcpcd to look for chrony.conf in /etc/chrony
Diffstat (limited to 'main/dhcpcd/fix-chrony-conf-location.patch')
-rw-r--r--main/dhcpcd/fix-chrony-conf-location.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/dhcpcd/fix-chrony-conf-location.patch b/main/dhcpcd/fix-chrony-conf-location.patch
new file mode 100644
index 0000000000..4fcde0d475
--- /dev/null
+++ b/main/dhcpcd/fix-chrony-conf-location.patch
@@ -0,0 +1,13 @@
+diff --git a/dhcpcd-hooks/50-ntp.conf b/dhcpcd-hooks/50-ntp.conf
+index 7480503..94b11bb 100644
+--- a/dhcpcd-hooks/50-ntp.conf
++++ b/dhcpcd-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