From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4b6kfQ36W8z334v for ; Wed, 28 May 2025 09:26:54 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4b6kfL6tgJz2yCS for ; Wed, 28 May 2025 09:26:50 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4b6kfL3m8tz7H; Wed, 28 May 2025 09:26:50 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1748424410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=svlIFMJSNl3fLYUrxHtQXY9zg1T0H6RlqBzPT15v14k=; b=agO3cFIThpFhbGc8D/16zFGWUb0phVWd5NYkTKnBMzG0vTvUS1Qt61hGjt+JELIWr8ZmUY 1ZixCz5bjqIJ90CQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1748424410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=svlIFMJSNl3fLYUrxHtQXY9zg1T0H6RlqBzPT15v14k=; b=gy8PTRfnikymHtoHQNL9SAQzkei3beJWxb6LKh879IrsX/u+uXD6MTAfkHF+3O3Rx7MoQY yZaFcB+xKwyNxkIscCjSqXz7f9TtpRUr9P69rkYhJOvwLoTU09A4h9obDdaXXE/hxHTdaE /lyZQfuDsu9j6X1KYo9eC+1cT+yMvDVK5cAbhQOI4YcxRyD/jVGvur9CSVNPkRl3FSoqR+ GUmS3fEuA5t6WEXHtedmxf29Dbl1E8cn6jEgI/hxgHAnVu8ABufzzoateLrvDtw5rXPevI n88/h/O8D6wMk9q2FWzoFgQIIFNU0zuFZDBO1M5j3YEM5iRG/6zi1q/nPwlAyw== Content-Type: text/plain; charset=us-ascii Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: [PATCH] header.pl: Fixbug13857 - Disable Blue Access submenu if no BLUE network From: Michael Tremer In-Reply-To: <20250528064223.1975817-1-stephen@firemypi.org> Date: Wed, 28 May 2025 10:26:50 +0100 Cc: development@lists.ipfire.org Content-Transfer-Encoding: quoted-printable Message-Id: <5BDEFB9E-6484-4A9D-B780-06C1325A3592@ipfire.org> References: <20250528064223.1975817-1-stephen@firemypi.org> To: Stephen Cuka Hello Stephen, Good catch! This was broken since 2019. = https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dcommitdiff;h=3D820b29098254= 79b52696886d1f9054c0f709d3f0 -Michael > On 28 May 2025, at 07:42, Stephen Cuka wrote: >=20 > - Fix reference to BlueAccess menu item so that it is disabled > when BLUE network is not in use. >=20 > Signed-off-by: Stephen Cuka > --- > config/cfgroot/header.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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`; >=20 > if (! blue_used()) { > - $menu->{'05.firewall'}{'subMenu'}->{'60.wireless'}{'enabled'} =3D 0; > + $menu->{'05.firewall'}{'subMenu'}->{'70.wireless'}{'enabled'} =3D 0; > } > if ( $Network::ethernet{'CONFIG_TYPE'} =3D~ /^(1|2|3|4)$/ && = $Network::ethernet{'RED_TYPE'} eq 'STATIC' ) { > $menu->{'03.network'}{'subMenu'}->{'70.aliases'}{'enabled'} =3D 1; > --=20 > 2.43.0 >=20 >=20