diff options
Diffstat (limited to 'usr/libexec/commission/nfoff.sh')
-rwxr-xr-x | usr/libexec/commission/nfoff.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/libexec/commission/nfoff.sh b/usr/libexec/commission/nfoff.sh new file mode 100755 index 0000000..54e7cd3 --- /dev/null +++ b/usr/libexec/commission/nfoff.sh @@ -0,0 +1,5 @@ +#!/bin/bash +for handle in $(nft -a list table inet filter | grep iifname | sed -E 's/.*#[[:space:]]*handle[[:space:]]*//') ; do + echo "Enable wwan0: nft delete rule inet filter input handle ${handle}" + nft delete rule inet filter input handle ${handle} +done |