From: Manuel Munz Date: Sat, 12 Feb 2011 19:48:26 +0000 (+0000) Subject: applications/ffwizard: rdate config not needed anymore X-Git-Tag: 0.11.0~2262 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=f3b5d641f0863170196c1402d87cfe5132af2513;hp=489279bb9a4d9984315bc0e0f97a56fea800bbcd;ds=sidebyside applications/ffwizard: rdate config not needed anymore --- diff --git a/applications/luci-ffwizard/luasrc/model/cbi/freifunk/ffwizard.lua b/applications/luci-ffwizard/luasrc/model/cbi/freifunk/ffwizard.lua index 0094d0696..f915cfa9a 100644 --- a/applications/luci-ffwizard/luasrc/model/cbi/freifunk/ffwizard.lua +++ b/applications/luci-ffwizard/luasrc/model/cbi/freifunk/ffwizard.lua @@ -1045,15 +1045,6 @@ function main.write(self, section, value) uci:set("system", s['.name'], "zonename", "Europe/Berlin") uci:set("system", s['.name'], "timezone", 'CET-1CEST,M3.5.0,M10.5.0/3') end) - - -- Create time rdate_servers - local rdate = uci:get_all("freifunk", "time") - uci:delete_all("system", "time") - uci:section("system", "time", "rdate_servers", rdate) - rdate.server = rdate.rdate_servers - rdate.rdate_servers = "" - uci:delete_all("system", "rdate", nil) - uci:section("system", "rdate", nil, rdate) uci:save("system") -- Delete old watchdog settings