New package: runit-nftables-20200123

This commit is contained in:
Andrew J. Hesford 2020-01-22 23:13:56 -05:00 committed by Helmut Pozimski
parent ba50b560d8
commit 6c11230a66
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,3 @@
if [ -e /etc/nftables.conf ]; then
nft -f /etc/nftables.conf
fi

View file

@ -0,0 +1,14 @@
# Template file for 'runit-nftables'
pkgname=runit-nftables
version=20200123
revision=1
archs=noarch
depends="runit-void nftables"
short_desc="Restore nftables rules on boot"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Public Domain"
homepage="https://www.voidlinux.org"
do_install() {
vinstall ${FILESDIR}/91-nftables.sh 0644 etc/runit/core-services
}