summaryrefslogtreecommitdiff
path: root/network/arno-iptables-firewall/files/patch-startup-script.diff
blob: c31514e2604ef230080e5aa68fb4599cc5f2f14e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
15,21c15,23
< ############################################################################################
< # 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 "rc.firewall" link to this #
> # 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 the name ot this script, that is, #
> # "rc.arno-iptables-firewall".                                                 #
> ################################################################################
24c25
< PROGRAM="/usr/local/sbin/arno-iptables-firewall"
---
> PROGRAM="/usr/sbin/arno-iptables-firewall"