summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d/sysfixtime
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/init.d/sysfixtime')
-rwxr-xr-xpackage/base-files/files/etc/init.d/sysfixtime2
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 ca19e78..4010e06 100755
--- a/package/base-files/files/etc/init.d/sysfixtime
+++ b/package/base-files/files/etc/init.d/sysfixtime
@@ -5,7 +5,7 @@ START=00
boot() {
local curtime="$(date +%s)"
- local maxtime="$(find /etc -type f -exec date +%s -r {} \; | sort -nr | head -n1)"
+ local maxtime="$(find /etc -type f -exec date -r {} +%s \; | sort -nr | head -n1)"
[ $curtime -lt $maxtime ] && date -s @$maxtime
}