New package: runit-nftables-20200123
This commit is contained in:
committed by
Helmut Pozimski
parent
ba50b560d8
commit
6c11230a66
3
srcpkgs/runit-nftables/files/91-nftables.sh
Normal file
3
srcpkgs/runit-nftables/files/91-nftables.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
if [ -e /etc/nftables.conf ]; then
|
||||||
|
nft -f /etc/nftables.conf
|
||||||
|
fi
|
||||||
14
srcpkgs/runit-nftables/template
Normal file
14
srcpkgs/runit-nftables/template
Normal 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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user