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:
parent
95385a77a7
commit
4c722c3e8a
2 changed files with 24 additions and 3 deletions
|
@ -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 $*"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue