From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien GISLAIN To: development@lists.ipfire.org Subject: [PATCH 2/2] fwhosts.cgi: add flag of modified rules of firewall Date: Wed, 29 Nov 2023 09:09:16 +0100 Message-ID: <20231129080916.34865-1-sebastien.gislain@free.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3408134837615164402==" List-Id: --===============3408134837615164402== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Add link to firewall.cgi when firewall rules ares modified and should be appl= ied. --- html/cgi-bin/fwhosts.cgi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index d6be6c40e..d4d58bb94 100644 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -1322,6 +1322,17 @@ sub showmenu { print<
+END + + my $FIREWALL_RELOAD_INDICATOR =3D "${General::swroot}/firewall/reread"; + + if (-e "$FIREWALL_RELOAD_INDICATOR") { + print <$Lang::tr{'fwdfw reread'} +END + } + + print<
END --=20 2.39.2 --===============3408134837615164402==--