From: Florian Eckert Date: Fri, 6 Apr 2018 08:49:16 +0000 (+0200) Subject: luci-mod-network: move auto option to general tab X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F2670%2Fhead;p=oweals%2Fluci.git 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 --- 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"))