From: Kevin Darbyshire-Bryant Date: Thu, 16 Jun 2016 09:50:36 +0000 (+0100) Subject: base-files: sysfixtime no longer exclude dnsmasq.time X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d4ede1c1189abff6f52887179878cb950a4e47a0;p=openwrt%2Fstaging%2Fneocturne.git base-files: sysfixtime no longer exclude dnsmasq.time dnsmasq's dnssec time checking method now uses a ntp hotplug mechanism, therefore dnsmasq.time is redudant and no longer needs to be explicitly excluded from sysfixtime. Signed-off-by: Kevin Darbyshire-Bryant --- diff --git a/package/base-files/files/etc/init.d/sysfixtime b/package/base-files/files/etc/init.d/sysfixtime index c823d57f10..81d1c52442 100755 --- a/package/base-files/files/etc/init.d/sysfixtime +++ b/package/base-files/files/etc/init.d/sysfixtime @@ -27,7 +27,7 @@ stop() { maxtime() { local file newest - for file in $( find /etc -type f ! -path /etc/dnsmasq.time ) ; do + for file in $( find /etc -type f ) ; do [ -z "$newest" -o "$newest" -ot "$file" ] && newest=$file done [ "$newest" ] && date -r "$newest" +%s