1 2 3 4 5 6 7 8
#!/bin/bash set -e tmpfile=$(mktemp) echo 'include "/tmp/rules.nft"' > $tmpfile $NFT -f $tmpfile || exit 0