diff options
Diffstat (limited to 'package/base-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 |