mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
use luci call for sleep
This commit is contained in:
parent
7f86bbdab5
commit
a708d886f5
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ function wizard_add()
|
||||||
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
|
||||||
luci.sys.call("/etc/init.d/openmptcprouter-vps restart >/dev/null 2>/dev/null")
|
luci.sys.call("/etc/init.d/openmptcprouter-vps restart >/dev/null 2>/dev/null")
|
||||||
os.execute("sleep 2")
|
luci.sys.call("sleep 2")
|
||||||
end
|
end
|
||||||
luci.sys.call("/etc/init.d/shadowsocks-libev restart >/dev/null 2>/dev/null")
|
luci.sys.call("/etc/init.d/shadowsocks-libev restart >/dev/null 2>/dev/null")
|
||||||
luci.sys.call("/etc/init.d/glorytun restart >/dev/null 2>/dev/null")
|
luci.sys.call("/etc/init.d/glorytun restart >/dev/null 2>/dev/null")
|
||||||
|
|
Loading…
Reference in a new issue