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

Change VPN to use device instead of ifname

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-06-25 19:39:19 +02:00
parent dd16ae03f5
commit 1f15378d56
4 changed files with 6 additions and 5 deletions

View file

@ -59,7 +59,7 @@ start_instance() {
key=""
if [ "$(uci -q get network.omrvpn)" != "" ]; then
uci -q set network.omrvpn.ifname=${dev}
uci -q set network.omrvpn.device=${dev}
uci -q commit network
fi
_log "starting ${PROG_NAME} ${1} instance $*"