summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-04-06 10:49:16 +0200
committerFlorian Eckert <fe@dev.tdt.de>2019-04-10 13:45:27 +0200
commitc3f620eb13eb17d5487cad1bb34987e739aed054 (patch)
tree4a9b6710654cbbf00787210b25bb2b0fcb0facde /modules/luci-mod-network
parent6c028c82e837e1fbe049bd94bf82691f124345d8 (diff)
luci-mod-network: move auto option to general tab
Since openwrt-18.06 the auto option is set/unset if we press connect/disconnect on the interface page. So I think we should move this to the general tab so that we see at once if this is started on boot or not. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua
index 5b230795c..de7b8676e 100644
--- a/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua
@@ -247,7 +247,7 @@ for _, pr in ipairs(nw:get_protocols()) do
end
-auto = s:taboption("advanced", Flag, "auto", translate("Bring up on boot"))
+auto = s:taboption("general", Flag, "auto", translate("Bring up on boot"))
auto.default = (net:proto() == "none") and auto.disabled or auto.enabled
delegate = s:taboption("advanced", Flag, "delegate", translate("Use builtin IPv6-management"))