iptables: check xtables lock (#161)

This commit is contained in:
Nicolas Porcel 2018-06-21 05:35:18 +02:00 committed by cr6git
parent 0f4085eb4c
commit 2d2bfb8785
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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"