mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
New package: runit-nftables-20200123
This commit is contained in:
parent
ba50b560d8
commit
6c11230a66
2 changed files with 17 additions and 0 deletions
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue