mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03:00
init.d: openwrt-minimal remove exists check
This commit is contained in:
parent
9831bb78f2
commit
72a7cda579
@ -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