diff options
author | Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> | 2016-06-16 10:50:36 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-06-24 13:56:30 +0200 |
commit | d4ede1c1189abff6f52887179878cb950a4e47a0 (patch) | |
tree | 273b9c451c69d134ddfd5dfa9f202f6ff380b149 /package/base-files/files | |
parent | 5acfe55d7139a5294192bddf10fe3a1de3180e8d (diff) | |
download | upstream-d4ede1c1189abff6f52887179878cb950a4e47a0.tar.gz upstream-d4ede1c1189abff6f52887179878cb950a4e47a0.tar.bz2 upstream-d4ede1c1189abff6f52887179878cb950a4e47a0.zip |
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 <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-x | package/base-files/files/etc/init.d/sysfixtime | 2 |
1 files changed, 1 insertions, 1 deletions
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 |