From 971ffe47da2fa5b154f0601f9ece2984ac7f5d50 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 14 Jun 2008 15:14:15 +0000 Subject: * luci/libs: move time fix to luci-addons --- libs/web/luasrc/dispatcher.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libs/web') diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 8516c6f1b..e3ebe5b0e 100644 --- a/libs/web/luasrc/dispatcher.lua +++ b/libs/web/luasrc/dispatcher.lua @@ -29,11 +29,6 @@ require("luci.http") require("luci.sys") require("luci.fs") --- Dirty OpenWRT fix -if (os.time() < 1000000000) then - os.execute('date -s '..os.date('%m%d%H%M%Y', luci.fs.mtime(luci.sys.libpath() .. "/dispatcher.lua"))..' > /dev/null 2>&1') -end - context = luci.util.threadlocal() -- Index table -- cgit v1.2.3