|
|
@ -17,6 +17,7 @@ start_tracker() { |
|
|
|
interface=$1 |
|
|
|
config_get_bool enabled $interface 'enabled' '0' |
|
|
|
[ $enabled -eq 0 ] && return |
|
|
|
[ -z "$(config_get $interface track_ip)" ] && return |
|
|
|
|
|
|
|
procd_open_instance "track_${1}" |
|
|
|
procd_set_param command /usr/sbin/mwan3track $interface |
|
|
|