1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add interface entry in openmptcprouter section if not already here

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-07-20 10:23:57 +02:00
parent facac2ef06
commit a9656c096e

View file

@ -85,6 +85,7 @@ interface_multipath_settings() {
master="$config"
fi
}
uci -q set openmptcprouter.${config}="interface"
uci -q set openmptcprouter.${config}.multipath="$mode"
[ "$enabled" = "0" ] && return 0