From e8abbb5489504f26377ddb34c21dedf9d20ed455 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Fri, 1 Mar 2024 15:23:15 -0800 Subject: [PATCH] Revert hAP AC Lite xlink support (#1106) --- files/usr/lib/lua/aredn/nav/admin/65advancednetwork.lua | 2 +- files/www/cgi-bin/advancedconfig | 2 +- files/www/cgi-bin/advancednetwork | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/files/usr/lib/lua/aredn/nav/admin/65advancednetwork.lua b/files/usr/lib/lua/aredn/nav/admin/65advancednetwork.lua index eaa19499..6641c392 100644 --- a/files/usr/lib/lua/aredn/nav/admin/65advancednetwork.lua +++ b/files/usr/lib/lua/aredn/nav/admin/65advancednetwork.lua @@ -1,4 +1,4 @@ local board = aredn.hardware.get_board_type() -if board == "mikrotik,routerboard-952ui-5ac2nd" or board == "mikrotik,hap-ac2" or board == "mikrotik,hap-ac3" or board == "qemu" or board == "glinet,gl-b1300" or board == "vmware" then +if board == "mikrotik,hap-ac2" or board == "mikrotik,hap-ac3" or board == "qemu" or board == "glinet,gl-b1300" or board == "vmware" then return { href = "advancednetwork", display = "Advanced Network" } end diff --git a/files/www/cgi-bin/advancedconfig b/files/www/cgi-bin/advancedconfig index cc066b7f..2db8ebd0 100755 --- a/files/www/cgi-bin/advancedconfig +++ b/files/www/cgi-bin/advancedconfig @@ -542,7 +542,7 @@ end function supportsVLANChange() -- If we support advanced networking, we dont provide this option here local board = aredn.hardware.get_board_type() - if board == "mikrotik,routerboard-952ui-5ac2nd" or board == "mikrotik,hap-ac2" or board == "mikrotik,hap-ac3" then + if board == "mikrotik,hap-ac2" or board == "mikrotik,hap-ac3" then return false end local stat = nixio.fs.stat("/etc/aredn_include/swconfig") diff --git a/files/www/cgi-bin/advancednetwork b/files/www/cgi-bin/advancednetwork index 48af9d51..955a6b2d 100755 --- a/files/www/cgi-bin/advancednetwork +++ b/files/www/cgi-bin/advancednetwork @@ -58,7 +58,6 @@ local function default_n_port_layout(board_type) return { ports = ports } end local layouts = { - ["mikrotik,routerboard-952ui-5ac2nd"] = default_5_port_layout, ["mikrotik,hap-ac2"] = default_5_port_layout, ["mikrotik,hap-ac3"] = default_5_port_layout, ["glinet,gl-b1300"] = default_3_port_layout, @@ -127,7 +126,6 @@ local default_1_port_config = { } } local default_configs = { - ["mikrotik,routerboard-952ui-5ac2nd"] = default_5_port_config, ["mikrotik,hap-ac2"] = default_5_port_config, ["mikrotik,hap-ac3"] = default_5_port_config, ["glinet,gl-b1300"] = default_3_port_config,