Minor fixes

This commit is contained in:
gSpot
2024-01-03 18:49:22 +03:00
parent 928618e03d
commit 9d0a75a7f8
2 changed files with 5 additions and 2 deletions
@@ -13,5 +13,8 @@ VPN_ROUTE_CHECK=`$UCI_CMD get ruantiblock.config.vpn_route_check`
[ "$VPN_ROUTE_CHECK" != "0" ] && exit 0
if [ "$ACTION" = "ifup" ] && [ "$PROXY_MODE" = "2" ] && [ "$DEVICE" = "$IF_VPN" ]; then
[ `$RUAB_CMD raw-status` -ne 2 ] && $RUAB_CMD reload
if [ `$RUAB_CMD raw-status` -ne 2 ]; then
sleep 5
$RUAB_CMD reload
fi
fi