mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Fix uci wan status
This commit is contained in:
parent
360a24b215
commit
c70ef66b4f
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ if [ "$(uci -q get openmptcprouter.$OMR_TRACKER_INTERFACE.lc)" = "" ] || [ $(($(
|
||||||
_log "Get status and settings for $OMR_TRACKER_INTERFACE... Done"
|
_log "Get status and settings for $OMR_TRACKER_INTERFACE... Done"
|
||||||
/etc/init.d/openmptcprouter-vps restart >/dev/null 2>&1
|
/etc/init.d/openmptcprouter-vps restart >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
uci -q set openmptcprouter.$OMR_TRACKER_INTERFACE.state='up'
|
||||||
uci -q commit openmptcprouter
|
uci -q commit openmptcprouter
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue