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