iptables: services: return -> exit just for correctness.

This commit is contained in:
Juan RP 2014-12-03 08:33:49 +01:00
parent 10905c8193
commit 0d7c4cdd61
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
[ ! -e /etc/iptables/ip6tables.rules ] && return 0 [ ! -e /etc/iptables/ip6tables.rules ] && exit 0
ip6tables-restore /etc/iptables/ip6tables.rules ip6tables-restore /etc/iptables/ip6tables.rules
exec chpst -b ip6tables pause exec chpst -b ip6tables pause

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
[ ! -e /etc/iptables/iptables.rules ] && return 0 [ ! -e /etc/iptables/iptables.rules ] && exit 0
iptables-restore /etc/iptables/iptables.rules iptables-restore /etc/iptables/iptables.rules
exec chpst -b iptables pause exec chpst -b iptables pause

View file

@ -1,7 +1,7 @@
# Template file for 'iptables' # Template file for 'iptables'
pkgname=iptables pkgname=iptables
version=1.4.21 version=1.4.21
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
build_options="systemd" build_options="systemd"
configure_args="--enable-libipq --enable-shared --enable-devel --enable-bpf-compiler" configure_args="--enable-libipq --enable-shared --enable-devel --enable-bpf-compiler"