mirror of
https://github.com/Snowy-Fluffy/zapret.installer.git
synced 2025-12-06 09:03:04 +03:00
bug fix
This commit is contained in:
@@ -171,7 +171,7 @@ get_fwtype() {
|
||||
Linux)
|
||||
if [[ $SYSTEM == openwrt ]]; then
|
||||
if exists iptables; then
|
||||
iptables_version=$(iptables -V 2>&1)
|
||||
iptables_version=$(iptables --version 2>&1)
|
||||
|
||||
if [[ "$iptables_version" == *"legacy"* ]]; then
|
||||
FWTYPE="iptables"
|
||||
|
||||
Reference in New Issue
Block a user