From c3f620eb13eb17d5487cad1bb34987e739aed054 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 6 Apr 2018 10:49:16 +0200 Subject: 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 --- modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-network') 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")) -- cgit v1.2.3