From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 2/2] update.sh: Remove the lines related to FEODO_RECOMMENDED Date: Mon, 09 Dec 2024 12:42:51 +0100 Message-ID: <20241209114251.6249-2-adolf.belka@ipfire.org> In-Reply-To: <20241209114251.6249-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6104721279271723798==" List-Id: --===============6104721279271723798== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - This removes the lines related to removing any time entries in the modified= file for FEODO_RECOMMENDED. - This also removes the lines realted to removing the blocklists for the FEODO_RECOMMENDED sources from the /var/lib/ipblocklist directory. - This patch will ensure that FEODO_RECOMMENDED stays in place if it was bein= g used. Signed-off-by: Adolf Belka --- config/rootfiles/core/191/update.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/rootfiles/core/191/update.sh b/config/rootfiles/core/191/= update.sh index f1c254611..366239bdd 100644 --- a/config/rootfiles/core/191/update.sh +++ b/config/rootfiles/core/191/update.sh @@ -36,14 +36,10 @@ done # Extract files extract_files =20 -# Remove any entry for FEODO_RECOMMENDED, FEODO_IP or FEODO_AGGRESSIVE from = the ipblocklist +# Remove any entry for FEODO_IP or FEODO_AGGRESSIVE from the ipblocklist # modified file and the associated ipblocklist files from the /var/lib/ipblo= cklist directory -sed -i '/FEODO_RECOMMENDED=3D/d' /var/ipfire/ipblocklist/modified sed -i '/FEODO_IP=3D/d' /var/ipfire/ipblocklist/modified sed -i '/FEODO_AGGRESSIVE=3D/d' /var/ipfire/ipblocklist/modified -if [ -e /var/lib/ipblocklist/FEODO_RECOMMENDED.conf ]; then - rm /var/lib/ipblocklist/FEODO_RECOMMENDED.conf -fi if [ -e /var/lib/ipblocklist/FEODO_IP.conf ]; then rm /var/lib/ipblocklist/FEODO_IP.conf fi --=20 2.47.1 --===============6104721279271723798==--