Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37530115
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-init.patch
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
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin