Fixed typos
This commit is contained in:
parent
91ba7c42f5
commit
28ffe7d704
2 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ endef
|
||||||
|
|
||||||
define Package/luci-uci
|
define Package/luci-uci
|
||||||
$(call Package/luci/libtemplate)
|
$(call Package/luci/libtemplate)
|
||||||
DEPENDS+=+libuci
|
DEPENDS+=+libuci @!PACKAGE_libuci-lua
|
||||||
TITLE:=High-Level UCI API
|
TITLE:=High-Level UCI API
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,7 @@ network.combobox_manual = translate("a_w_netmanual")
|
||||||
luci.tools.webadmin.cbi_add_networks(network)
|
luci.tools.webadmin.cbi_add_networks(network)
|
||||||
|
|
||||||
function network.write(self, section, value)
|
function network.write(self, section, value)
|
||||||
if not m:uci.get("network", value) then
|
if not m.uci:get("network", value) then
|
||||||
m:chain("network")
|
m:chain("network")
|
||||||
m.uci:set("network", value, "interface")
|
m.uci:set("network", value, "interface")
|
||||||
Value.write(self, section, value)
|
Value.write(self, section, value)
|
||||||
|
|
Loading…
Reference in a new issue