mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
blocklanfw script is not yet migrated to nft, ignore it when nft is used
This commit is contained in:
parent
bf18da86f6
commit
e5046ae632
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -e /usr/sbin/nft ] && exit 0
|
||||
|
||||
if [ -e /usr/sbin/iptables-legacy ]; then
|
||||
IPTABLES="/usr/sbin/iptables-legacy"
|
||||
IP6TABLES="/usr/sbin/ip6tables-legacy"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue