From: Stephen Cuka <stephen@firemypi.org>
To: development@lists.ipfire.org
Cc: Stephen Cuka <stephen@firemypi.org>
Subject: [PATCH] header.pl: Fixbug13857 - Disable Blue Access submenu if no BLUE network
Date: Wed, 28 May 2025 00:42:23 -0600 [thread overview]
Message-ID: <20250528064223.1975817-1-stephen@firemypi.org> (raw)
- 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>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--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
next reply other threads:[~2025-05-28 6:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-28 6:42 Stephen Cuka [this message]
2025-05-28 9:26 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250528064223.1975817-1-stephen@firemypi.org \
--to=stephen@firemypi.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox