diff options
-rw-r--r-- | contrib/package/luci-addons/dist/etc/init.d/inittime | 2 |
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 c41bbd41d..70ddb5ca9 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('/usr/lib/lua/luci/sys.lua', 'mtime')))" + lua -e "os.execute('date -s '..os.date('%m%d%H%M%Y', require('posix').stat('$0', 'mtime')))" } |