- if not luci.model.uci.get("network", "wan") then
- luci.model.uci.set("network", "wan", "proto", "none")
- luci.model.uci.set("network", "wan", "ifname", " ")
+ if not m.uci:get("network", "wan") then
+ m.uci:set("network", "wan", "proto", "none")
+ m.uci:set("network", "wan", "ifname", " ")