public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] header.pl: Fixbug13857 - Disable Blue Access submenu if no BLUE network
@ 2025-05-28  6:42 Stephen Cuka
  2025-05-28  9:26 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Cuka @ 2025-05-28  6:42 UTC (permalink / raw)
  To: development; +Cc: Stephen Cuka

 - Fix reference to BlueAccess menu item so that it is disabled
   when BLUE network is not in use.

Signed-off-by: Stephen Cuka <stephen@firemypi.org>
---
 config/cfgroot/header.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/cfgroot/header.pl b/config/cfgroot/header.pl
index 2d4aa89f2..1eb7e3b9a 100644
--- a/config/cfgroot/header.pl
+++ b/config/cfgroot/header.pl
@@ -456,7 +456,7 @@ sub genmenu {
     eval `/bin/cat /var/ipfire/menu.d/*.main`;
 
     if (! blue_used()) {
-	$menu->{'05.firewall'}{'subMenu'}->{'60.wireless'}{'enabled'} = 0;
+	$menu->{'05.firewall'}{'subMenu'}->{'70.wireless'}{'enabled'} = 0;
     }
     if ( $Network::ethernet{'CONFIG_TYPE'} =~ /^(1|2|3|4)$/ && $Network::ethernet{'RED_TYPE'} eq 'STATIC' ) {
 	$menu->{'03.network'}{'subMenu'}->{'70.aliases'}{'enabled'} = 1;
-- 
2.43.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-28  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-28  6:42 [PATCH] header.pl: Fixbug13857 - Disable Blue Access submenu if no BLUE network Stephen Cuka
2025-05-28  9:26 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox