[2/2] update.sh: Remove the lines related to FEODO_RECOMMENDED

Message ID 20241209114251.6249-2-adolf.belka@ipfire.org
State New
Headers
Series [1/2] sources: Replacement of Feodo Recommended Tracker list to ipblocklist sources file |

Commit Message

Adolf Belka Dec. 9, 2024, 11:42 a.m. UTC
  - 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 being used.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/core/191/update.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
  

Patch

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
 
-# 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/ipblocklist directory
-sed -i '/FEODO_RECOMMENDED=/d' /var/ipfire/ipblocklist/modified
 sed -i '/FEODO_IP=/d' /var/ipfire/ipblocklist/modified
 sed -i '/FEODO_AGGRESSIVE=/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