ALT Linux repos
Group :: System/Configuration/Networking
RPM: firehol
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: firehol-sbin-alt-init.patch
Download
Download
diff --git a/firehol/sbin/firehol.in b/firehol/sbin/firehol.in
index 6a7430b..34b143c 100755
--- a/firehol/sbin/firehol.in
+++ b/firehol/sbin/firehol.in
@@ -1,5 +1,13 @@
#!/bin/bash
#
+# Startup script to implement /etc/firehol/firehol.conf pre-defined rules.
+#
+# chkconfig: 2345 20 92
+#
+# description: creates stateful iptables packet filtering firewalls.
+#
+# config: /etc/firehol/firehol.conf
+#
# FireHOL - A firewall for humans...
#
# Copyright
@@ -6992,6 +7000,9 @@ failure() {
# ------------------------------------------------------------------------------
# A small part bellow is copied from /etc/init.d/iptables
+# for ALT Linux
+WITHOUT_RC_COMPAT=1
+
# On RedHat systems this will define success() and failure()
test -f /etc/init.d/functions && . /etc/init.d/functions