|
|
@ -123,7 +123,7 @@ restart() { |
|
|
|
/etc/init.d/mwan3 start |
|
|
|
} |
|
|
|
|
|
|
|
wrap() { |
|
|
|
use() { |
|
|
|
# Run a command with the device, src_ip and fwmark set to avoid processing by mwan3 |
|
|
|
# firewall rules |
|
|
|
|
|
|
@ -132,7 +132,7 @@ wrap() { |
|
|
|
config_load mwan3 |
|
|
|
|
|
|
|
interface=$1 ; shift |
|
|
|
[ -z "$*" ] && echo "no command specified for mwan3 wrap" && return |
|
|
|
[ -z "$*" ] && echo "no command specified for mwan3 use" && return |
|
|
|
network_get_device device $interface |
|
|
|
[ -z "$device" ] && echo "could not find device for $interface" && return |
|
|
|
|
|
|
|