mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Flush ip on tun0
This commit is contained in:
parent
d51ff646a7
commit
9c93b59962
1 changed files with 1 additions and 0 deletions
|
@ -883,6 +883,7 @@ function wizard_add()
|
||||||
if gostatus == true then
|
if gostatus == true then
|
||||||
luci.sys.call("/etc/init.d/macvlan restart >/dev/null 2>/dev/null")
|
luci.sys.call("/etc/init.d/macvlan restart >/dev/null 2>/dev/null")
|
||||||
luci.sys.call("(env -i /bin/ubus call network reload) >/dev/null 2>/dev/null")
|
luci.sys.call("(env -i /bin/ubus call network reload) >/dev/null 2>/dev/null")
|
||||||
|
luci.sys.call("ip addr flush dev tun0 >/dev/null 2>/dev/null")
|
||||||
luci.sys.call("/etc/init.d/omr-tracker stop >/dev/null 2>/dev/null")
|
luci.sys.call("/etc/init.d/omr-tracker stop >/dev/null 2>/dev/null")
|
||||||
luci.sys.call("/etc/init.d/mptcp restart >/dev/null 2>/dev/null")
|
luci.sys.call("/etc/init.d/mptcp restart >/dev/null 2>/dev/null")
|
||||||
--if openmptcprouter_vps_key ~= "" then
|
--if openmptcprouter_vps_key ~= "" then
|
||||||
|
|
Loading…
Reference in a new issue