configmode: initscript takes care of enabled-flag

This commit is contained in:
Nils Schneider 2013-09-30 00:12:21 +02:00
parent 9402824e14
commit 1666df3cbf

View File

@ -56,7 +56,6 @@ function action_reboot()
uci:foreach("configmode", "wizard", function(s)
uci:set("configmode", s[".name"], "configured", "1")
uci:set("configmode", s[".name"], "enabled", "0")
end)
uci:save("configmode")
uci:commit("configmode")