configmode: initscript takes care of enabled-flag
This commit is contained in:
parent
dfa2ec153e
commit
45cca7ca52
|
@ -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