diff options
author | Steven Barth <steven@midlink.org> | 2008-08-06 20:20:40 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-06 20:20:40 +0000 |
commit | 50093ed3d97c763d344f8f6b7bf934e593a92178 (patch) | |
tree | 5fa7d666103429e59a88139b5388a3ba24997782 /contrib | |
parent | 76982655fa433edd885bbb80bbe74e82fca527e2 (diff) |
Moved luci.sys.libpath to luci.util
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/package/luci-addons/dist/etc/init.d/luci_fixtime | 4 |
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 3ca003887..681d9d789 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 } |