configmode: initscript takes care of enabled-flag
This commit is contained in:
parent
9402824e14
commit
1666df3cbf
@ -56,7 +56,6 @@ function action_reboot()
|
|||||||
|
|
||||||
uci:foreach("configmode", "wizard", function(s)
|
uci:foreach("configmode", "wizard", function(s)
|
||||||
uci:set("configmode", s[".name"], "configured", "1")
|
uci:set("configmode", s[".name"], "configured", "1")
|
||||||
uci:set("configmode", s[".name"], "enabled", "0")
|
|
||||||
end)
|
end)
|
||||||
uci:save("configmode")
|
uci:save("configmode")
|
||||||
uci:commit("configmode")
|
uci:commit("configmode")
|
||||||
|
Loading…
Reference in New Issue
Block a user