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

10 lines
182 B
Plaintext

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/nftables
importas -i RULESET RULESET
importas -i RULEDIR RULEDIR
s6-envdir -i /etc/s6/env/path
emptyenv -p
nft -I $RULEDIR -f $RULESET