slackbuilds_ponce/network/arno-iptables-firewall/files/patch-startup-script.diff
Philip Lacroix 7dbadc7a54 network/arno-iptables-firewall: Update Build Script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-04-07 14:43:37 +07:00

30 lines
1.7 KiB
Diff

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"