summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/luci-addons/dist
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/package/luci-addons/dist')
-rw-r--r--contrib/package/luci-addons/dist/etc/init.d/luci_fixtime4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/luci-addons/dist/etc/init.d/luci_fixtime b/contrib/package/luci-addons/dist/etc/init.d/luci_fixtime
index 3ca003887d..681d9d7898 100644
--- a/contrib/package/luci-addons/dist/etc/init.d/luci_fixtime
+++ b/contrib/package/luci-addons/dist/etc/init.d/luci_fixtime
@@ -3,9 +3,9 @@
START=05
start() {
- cat <<' EOF' | lua -l luci.fs -l luci.sys -
+ cat <<' EOF' | lua -l luci.fs -l luci.util -
if (os.time() < 1000000000) then
- os.execute('date -s ' .. os.date('%m%d%H%M%Y', luci.fs.mtime(luci.sys.libpath())))
+ os.execute('date -s ' .. os.date('%m%d%H%M%Y', luci.fs.mtime(luci.util.libpath())))
end
EOF
}