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

Force restart of services

This commit is contained in:
Ycarus 2018-06-14 23:09:43 +02:00
parent a0c21d570e
commit 24352f1ad6

View file

@ -188,10 +188,11 @@ function wizard_add()
end
luci.sys.call("(env -i /bin/ubus call network reload) >/dev/null 2>/dev/null")
--luci.sys.call("/etc/init.d/shadowsocks 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-udp restart >/dev/null 2>/dev/null")
--luci.sys.call("/etc/init.d/mlvpn restart >/dev/null 2>/dev/null")
luci.sys.call("/etc/init.d/shadowsocks 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-udp restart >/dev/null 2>/dev/null")
luci.sys.call("/etc/init.d/mlvpn restart >/dev/null 2>/dev/null")
luci.sys.call("/etc/init.d/openvpn restart >/dev/null 2>/dev/null")
if gostatus == true then
luci.http.redirect(luci.dispatcher.build_url("admin/system/openmptcprouter/status"))
else