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

Update glorytun init to use interface set

This commit is contained in:
Ycarus 2018-07-01 20:21:02 +02:00
parent 95385a77a7
commit 4c722c3e8a
2 changed files with 24 additions and 3 deletions

View file

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