init.d: openwrt-minimal remove exists check

This commit is contained in:
bol-van 2024-10-21 20:54:22 +03:00
parent 9831bb78f2
commit 72a7cda579

View File

@ -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