iptables: fix runit services (non-portable GNU getopt behvaiour)

Fixes #1403
This commit is contained in:
Duncaen 2018-08-02 18:38:20 +02:00
parent 3b2e280567
commit 67b1585ce1
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 -w 3 || exit 1
ip6tables-restore -w 3 /etc/iptables/ip6tables.rules || 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 -w 3 || exit 1
iptables-restore -w 3 /etc/iptables/iptables.rules || exit 1
exec chpst -b iptables pause

View File

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