mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
Update On Sun Feb 9 19:32:04 CET 2025
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$IPTABLES_MODE" = "nftables" ]; then
|
||||
/sbin/ip6tables-nft "$@"
|
||||
/usr/sbin/ip6tables-nft "$@"
|
||||
elif [ "$IPTABLES_MODE" = "legacy" ]; then
|
||||
/sbin/ip6tables-legacy "$@"
|
||||
/usr/sbin/ip6tables-legacy "$@"
|
||||
else
|
||||
/sbin/ip6tables "$@"
|
||||
/usr/sbin/ip6tables "$@"
|
||||
fi
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$IPTABLES_MODE" = "nftables" ]; then
|
||||
/sbin/iptables-nft "$@"
|
||||
/usr/sbin/iptables-nft "$@"
|
||||
elif [ "$IPTABLES_MODE" = "legacy" ]; then
|
||||
/sbin/iptables-legacy "$@"
|
||||
/usr/sbin/iptables-legacy "$@"
|
||||
else
|
||||
/sbin/iptables "$@"
|
||||
/usr/sbin/iptables "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user