blob: 66c440747f930ea98735298fe67f5b2c7ad06f3e (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
set -e
$NFT add table ip x
$NFT add chain ip x y "{ type filter hook input priority dummy+1; }" &> /dev/null || exit 0
echo "E: dummy should not be a valid priority." >&2
exit 1
|