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:
parent
dd16ae03f5
commit
1f15378d56
4 changed files with 6 additions and 5 deletions
|
@ -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 $*"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue