git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
89a4fdd
)
luci-mod-network: disable setup on new wifi-iface add
author
Florian Eckert
<redacted>
Mon, 16 Jul 2018 12:39:55 +0000
(14:39 +0200)
committer
Florian Eckert
<redacted>
Mon, 24 Sep 2018 09:28:51 +0000
(11:28 +0200)
If we add a new wifi-iface to the config then the iface will start at once.
But normaly we would configure the wireless security in the next step.
Signed-off-by: Florian Eckert <redacted>
modules/luci-mod-network/luasrc/controller/admin/network.lua
patch
|
blob
|
history
diff --git
a/modules/luci-mod-network/luasrc/controller/admin/network.lua
b/modules/luci-mod-network/luasrc/controller/admin/network.lua
index a587b7e513ab98720bbcc1125a095b058fabd27f..a200f79b51680e3ea8d03708df776ebc8ad9bd91 100644
(file)
--- a/
modules/luci-mod-network/luasrc/controller/admin/network.lua
+++ b/
modules/luci-mod-network/luasrc/controller/admin/network.lua
@@
-175,7
+175,8
@@
function wifi_add()
local net = dev:add_wifinet({
mode = "ap",
ssid = "OpenWrt",
- encryption = "none"
+ encryption = "none",
+ disabled = 1
})
ntm:save("wireless")
git clone https://git.99rst.org/PROJECT