mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-22 06:15:25 +00:00
init.d: openwrt-minimal remove exists check
This commit is contained in:
parent
2dc7332533
commit
629e0c5835
@ -28,7 +28,7 @@ redirect()
|
|||||||
for IPTABLES in iptables ip6tables; do
|
for IPTABLES in iptables ip6tables; do
|
||||||
$IPTABLES -t nat -N tpws 2>/dev/null
|
$IPTABLES -t nat -N tpws 2>/dev/null
|
||||||
$IPTABLES -t nat -F tpws
|
$IPTABLES -t nat -F tpws
|
||||||
exists $IPTABLES && redirect
|
redirect
|
||||||
done
|
done
|
||||||
|
|
||||||
for net in $EXCLUDE4
|
for net in $EXCLUDE4
|
||||||
|
Loading…
Reference in New Issue
Block a user