applications/ffwizard: rdate config not needed anymore

This commit is contained in:
Manuel Munz 2011-02-12 19:48:26 +00:00
parent 489279bb9a
commit f3b5d641f0

View file

@ -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