From 5ba959bf43bef497d4256c4201890f473bc7b601 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 27 Sep 2016 17:48:16 +0000 Subject: main/dhcpcd: fix chrony.conf location fix dhcpcd to look for chrony.conf in /etc/chrony --- main/dhcpcd/fix-chrony-conf-location.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main/dhcpcd/fix-chrony-conf-location.patch (limited to 'main/dhcpcd/fix-chrony-conf-location.patch') 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 -- cgit v1.2.3