ALT Linux repos
Group :: System/Configuration/Networking
RPM: firehol
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: firehol-sbin-alt-iptables.patch
Download
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