[2/2] update.sh: Remove the lines related to FEODO_RECOMMENDED
Commit Message
- 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(-)
@@ -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