mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Don't check omrvpn interface if vpn down
This commit is contained in:
parent
5fd2bd2fd3
commit
ba27c9410e
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ _launch_tracker() {
|
||||||
config_get proto "$1" proto
|
config_get proto "$1" proto
|
||||||
|
|
||||||
[ -z "$ifname" ] || [ -z "$multipath" ] || [ "$multipath" = "off" ] && [ "$1" != "glorytun" ] && [ "$1" != "omrvpn" ] && [ "$( uci -q get openmptcprouter.$1.multipathvpn)" != "1" ] && return
|
[ -z "$ifname" ] || [ -z "$multipath" ] || [ "$multipath" = "off" ] && [ "$1" != "glorytun" ] && [ "$1" != "omrvpn" ] && [ "$( uci -q get openmptcprouter.$1.multipathvpn)" != "1" ] && return
|
||||||
|
[ "$1" = "omrvpn" ] && [ "$(uci -q get openmptcprouter.settings.vpn)" = "none" ] && return
|
||||||
[ "${ifenabled}" = "0" ] && return
|
[ "${ifenabled}" = "0" ] && return
|
||||||
[ "${enabled}" = "0" ] && return
|
[ "${enabled}" = "0" ] && return
|
||||||
[ -z "${hosts}" ] && [ "$type" != "none" ] && return
|
[ -z "${hosts}" ] && [ "$type" != "none" ] && return
|
||||||
|
|
Loading…
Reference in a new issue