* Added timing fix
This commit is contained in:
parent
8cce07d695
commit
c73afe8b25
1 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,11 @@ require("luci.http")
|
|||
require("luci.sys")
|
||||
require("luci.fs")
|
||||
|
||||
-- Dirty OpenWRT fix
|
||||
if (os.time() < luci.fs.mtime(luci.sys.libpath() .. "/dispatcher.lua")) then
|
||||
os.execute('date -s '..os.date('%m%d%H%M%Y', luci.fs.mtime(luci.sys.libpath() .. "/dispatcher.lua")))
|
||||
end
|
||||
|
||||
-- Local dispatch database
|
||||
local tree = {nodes={}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue