ports/main/nnd-s6-services/rc/nftables/up

13 lines
183 B
Plaintext
Raw Normal View History

2022-09-15 11:39:24 +00:00
#!/bin/execlineb -P
2022-10-18 19:06:48 +00:00
s6-envdir -i /etc/s6/env/path
2022-09-15 11:39:24 +00:00
importas -i PATH PATH
emptyenv
export PATH $PATH
define RULESET /etc/nftables/core.nft
fdclose 1
fdclose 2
exec nft -f ${RULESET}