summaryrefslogtreecommitdiff
path: root/network/arno-iptables-firewall/files/patch-startup-script.diff
diff options
context:
space:
mode:
authorPhilip Lacroix <philnx@posteo.de>2014-03-21 01:32:46 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:22 -0500
commit3db725242024794c5e48b655dfdf2ed701bb37d1 (patch)
treee3ebe3893f5d57669988341985af304af0443bb9 /network/arno-iptables-firewall/files/patch-startup-script.diff
parent891fb57d09725bfc1bf8a85a4c4c6c43edb56302 (diff)
downloadslackbuilds-3db725242024794c5e48b655dfdf2ed701bb37d1.tar.gz
network/arno-iptables-firewall: Updated for version 2.0.1e.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/arno-iptables-firewall/files/patch-startup-script.diff')
-rw-r--r--network/arno-iptables-firewall/files/patch-startup-script.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/network/arno-iptables-firewall/files/patch-startup-script.diff b/network/arno-iptables-firewall/files/patch-startup-script.diff
new file mode 100644
index 0000000000..c4b947d4e7
--- /dev/null
+++ b/network/arno-iptables-firewall/files/patch-startup-script.diff
@@ -0,0 +1,25 @@
+4c4
+< # description: init.d script for Arno's iptables firewall
+---
+> # description: rc.d script for Arno's iptables firewall
+7c7
+< # Provides: arno-iptables-firewall
+---
+> # Provides: rc.arno-iptables-firewall
+16,20c16,21
+< # You should put this script in eg. "/etc/init.d/" . #
+< # Furthermore make sure it's executable! -> "chmod 700" or "chmod +x" it #
+< # If you want to run it upon boot, either add an entry in your "/etc/rc.d/rc.local" or #
+< # (for eg. Debian) in "/etc/rcS.d/" create a symlink to the arno-iptables-firewall script #
+< # ("ln -s /etc/init.d/arno-iptables-firewall script S99-arno-iptables-firewall script"). #
+---
+> # You should put this script in "/etc/rc.d/". #
+> # Furthermore make sure it's executable! -> "chmod 755" or "chmod +x" it. #
+> # If you want to run it upon boot, either create an "/etc/rc.d/rc.firewall" symlink to the #
+> # present script ("ln -sv /etc/rc.d/rc.arno-iptables-firewall /etc/rc.d/rc.firewall") or #
+> # edit the network system startup script "/etc/rc.d/rc.inet2" by renaming both occurrences #
+> # of "rc.firewall" to match this script's name (i.e. "rc.arno-iptables-firewall"). #
+24c25
+< PROGRAM="/usr/local/sbin/arno-iptables-firewall"
+---
+> PROGRAM="/usr/sbin/arno-iptables-firewall"