summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--contrib/package/luci-addons/dist/etc/init.d/inittime2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/luci-addons/dist/etc/init.d/inittime b/contrib/package/luci-addons/dist/etc/init.d/inittime
index 70ddb5ca9..c41bbd41d 100644
--- a/contrib/package/luci-addons/dist/etc/init.d/inittime
+++ b/contrib/package/luci-addons/dist/etc/init.d/inittime
@@ -2,5 +2,5 @@
START=30
start() {
- lua -e "os.execute('date -s '..os.date('%m%d%H%M%Y', require('posix').stat('$0', 'mtime')))"
+ lua -e "os.execute('date -s '..os.date('%m%d%H%M%Y', require('posix').stat('/usr/lib/lua/luci/sys.lua', 'mtime')))"
}