diff options
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/etc/init.d/sysfixtime | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package/base-files/files/etc/init.d/sysfixtime b/package/base-files/files/etc/init.d/sysfixtime index 525d765..ca19e78 100755 --- a/package/base-files/files/etc/init.d/sysfixtime +++ b/package/base-files/files/etc/init.d/sysfixtime @@ -6,8 +6,6 @@ START=00 boot() { local curtime="$(date +%s)" local maxtime="$(find /etc -type f -exec date +%s -r {} \; | sort -nr | head -n1)" - [ $curtime -lt $maxtime ] && \ - date -s @$maxtime && \ - logger -t sysfixtime -p daemon.notice "Time fixed" + [ $curtime -lt $maxtime ] && date -s @$maxtime } |