Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046135
en ru br
ALT Linux repos
S:3.1.7-alt1
5.0: 1.268-alt1.cvs20080809
4.1: 1.226-alt3.cvs20070210
4.0: 1.226-alt1.cvs20070210

Group :: System/Configuration/Networking
RPM: firehol

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: firehol-sbin-alt-iptables.patch
Download


diff --git a/firehol/sbin/firehol.in b/firehol/sbin/firehol.in
index 6a7430b..2bff638 100755
--- a/firehol/sbin/firehol
+++ b/firehol/sbin/firehol
@@ -8797,22 +8797,6 @@ then
 		then
 			# RedHat
 			FIREHOL_AUTOSAVE="/etc/sysconfig/iptables"
-		elif [ -d "/var/lib/iptables" ]
-		then
-			if [ -f /etc/conf.d/iptables ]
-			then
-				# Gentoo
-				IPTABLES_SAVE=
-				
-				. /etc/conf.d/iptables
-				FIREHOL_AUTOSAVE="${IPTABLES_SAVE}"
-			fi
-			
-			if [ -z "${FIREHOL_AUTOSAVE}" ]
-			then
-				# Debian
-				FIREHOL_AUTOSAVE="/var/lib/iptables/autosave"
-			fi
 		else
 			error "Cannot find where to save iptables file. Please set FIREHOL_AUTOSAVE."
 			echo
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin