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

13 lines
183 B
Plaintext

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/path
importas -i PATH PATH
emptyenv
export PATH $PATH
define RULESET /etc/nftables/core.nft
fdclose 1
fdclose 2
exec nft -f ${RULESET}