iptables: fix runit services (non-portable GNU getopt behvaiour)
Fixes #1403
This commit is contained in:
parent
3b2e280567
commit
67b1585ce1
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ ! -e /etc/iptables/ip6tables.rules ] && exit 0
|
||||
ip6tables-restore /etc/iptables/ip6tables.rules -w 3 || exit 1
|
||||
ip6tables-restore -w 3 /etc/iptables/ip6tables.rules || 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 -w 3 || exit 1
|
||||
iptables-restore -w 3 /etc/iptables/iptables.rules || exit 1
|
||||
exec chpst -b iptables pause
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'iptables'
|
||||
pkgname=iptables
|
||||
version=1.6.2
|
||||
revision=2
|
||||
revision=3
|
||||
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