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

Commit status change of shadowsocks

This commit is contained in:
Ycarus 2018-11-20 14:27:06 +01:00
parent dce35380a6
commit 65adb4ec9e

View file

@ -38,6 +38,7 @@ while true; do
[ "${last}" -ge "${retry}" ] && {
log "Shadowsocks is up (can contact ${host})"
uci -q set openmptcprouter.vps.shadowsocks="up"
uci -q commit openmptcprouter
}
if ! /etc/init.d/shadowsocks-libev rules_exist ; then
/etc/init.d/shadowsocks-libev rules_up 2> /dev/null