diff --git a/omr-tracker/files/usr/share/omr/post-tracking.d/003-up b/omr-tracker/files/usr/share/omr/post-tracking.d/003-up index 9174c5522..a398a3536 100755 --- a/omr-tracker/files/usr/share/omr/post-tracking.d/003-up +++ b/omr-tracker/files/usr/share/omr/post-tracking.d/003-up @@ -195,6 +195,7 @@ set_routes_intf() { local multipath_config_route local INTERFACE=$1 [ -z "$INTERFACE" ] && return + [ "$INTERFACE" = "omrvpn" ] && continue multipath_config_route=$(uci -q get openmptcprouter.$INTERFACE.multipath) [ -z "$multipath_config_route" ] && multipath_config_route=$(uci -q get network.$INTERFACE.multipath || echo "off") [ "$(uci -q get openmptcprouter.$INTERFACE.multipathvpn)" = "1" ] && { @@ -252,6 +253,8 @@ set_routes_intf6() { local multipath_config_route local INTERFACE=$1 [ -z "$INTERFACE" ] && return + [ "$INTERFACE" = "omr6in4" ] && continue + [ "$INTERFACE" = "omrvpn" ] && continue multipath_config_route=$(uci -q get openmptcprouter.$INTERFACE.multipath) [ -z "$multipath_config_route" ] && multipath_config_route=$(uci -q get network.$INTERFACE.multipath || echo "off") [ "$(uci -q get openmptcprouter.$INTERFACE.multipathvpn)" = "1" ] && { @@ -325,6 +328,7 @@ set_route_balancing() { local multipath_config_route interface_gw interface_if INTERFACE=$1 [ -z "$INTERFACE" ] && return + [ "$INTERFACE" = "omrvpn" ] && continue multipath_config_route=$(uci -q get openmptcprouter.$INTERFACE.multipath) [ -z "$multipath_config_route" ] && multipath_config_route=$(uci -q get network.$INTERFACE.multipath || echo "off") [ "$(uci -q get openmptcprouter.$INTERFACE.multipathvpn)" = "1" ] && { @@ -384,6 +388,8 @@ set_route_balancing6() { local multipath_config_route interface_gw interface_if INTERFACE=$1 [ -z "$INTERFACE" ] && return + [ "$INTERFACE" = "omr6in4" ] && continue + [ "$INTERFACE" = "omrvpn" ] && continue multipath_config_route=$(uci -q get openmptcprouter.$INTERFACE.multipath) [ -z "$multipath_config_route" ] && multipath_config_route=$(uci -q get network.$INTERFACE.multipath || echo "off") [ "$(uci -q get openmptcprouter.$INTERFACE.multipathvpn)" = "1" ] && { @@ -1036,7 +1042,7 @@ if [ -n "$OMR_TRACKER_INTERFACE" ] && { [ "$multipath_config" = "on" ] || [ "$mu } config_list_foreach $1 ip addpath } - if [ "$(uci -q get glorytun-udp.vpn.enable)" = "1"]; then + if [ "$(uci -q get glorytun-udp.vpn.enable)" = "1" ]; then config_load openmptcprouter config_foreach glorytunudppath server fi