mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
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>
This commit is contained in:
parent
5acfe55d71
commit
d4ede1c118
@ -27,7 +27,7 @@ stop() {
|
|||||||
maxtime() {
|
maxtime() {
|
||||||
local file newest
|
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
|
[ -z "$newest" -o "$newest" -ot "$file" ] && newest=$file
|
||||||
done
|
done
|
||||||
[ "$newest" ] && date -r "$newest" +%s
|
[ "$newest" ] && date -r "$newest" +%s
|
||||||
|
Loading…
Reference in New Issue
Block a user