mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Set multipath config from network
This commit is contained in:
parent
ad34170201
commit
264c430ef6
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ omr_intf_set() {
|
|||
[ -z "$multipath" ] || [ "$multipath" = "off" ] && [ "$1" != "omrvpn" ] && [ "$1" != "glorytun" ] && return
|
||||
|
||||
uci -q set openmptcprouter.$1=interface
|
||||
uci -q set openmptcprouter.$1.multipath="$multipath"
|
||||
config_get disable_ipv6 settings disable_ipv6 "0"
|
||||
if [ "$disable_ipv6" = "1" ] || [ "$1" != "omr6in4" ]; then
|
||||
uci -q set network.$1.ipv6=0
|
||||
|
|
Loading…
Reference in a new issue