iptables: check xtables lock (#161)
This commit is contained in:
parent
0f4085eb4c
commit
2d2bfb8785
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ ! -e /etc/iptables/ip6tables.rules ] && exit 0
|
||||
ip6tables-restore /etc/iptables/ip6tables.rules
|
||||
ip6tables-restore /etc/iptables/ip6tables.rules -w 3 || exit 1
|
||||
exec chpst -b ip6tables pause
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ ! -e /etc/iptables/iptables.rules ] && exit 0
|
||||
iptables-restore /etc/iptables/iptables.rules
|
||||
iptables-restore /etc/iptables/iptables.rules -w 3 || exit 1
|
||||
exec chpst -b iptables pause
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'iptables'
|
||||
pkgname=iptables
|
||||
version=1.6.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin --enable-libipq --enable-shared --enable-devel --enable-bpf-compiler"
|
||||
hostmakedepends="pkg-config flex"
|
||||
|
|
Loading…
Reference in New Issue