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:
parent
dce35380a6
commit
65adb4ec9e
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ while true; do
|
||||||
[ "${last}" -ge "${retry}" ] && {
|
[ "${last}" -ge "${retry}" ] && {
|
||||||
log "Shadowsocks is up (can contact ${host})"
|
log "Shadowsocks is up (can contact ${host})"
|
||||||
uci -q set openmptcprouter.vps.shadowsocks="up"
|
uci -q set openmptcprouter.vps.shadowsocks="up"
|
||||||
|
uci -q commit openmptcprouter
|
||||||
}
|
}
|
||||||
if ! /etc/init.d/shadowsocks-libev rules_exist ; then
|
if ! /etc/init.d/shadowsocks-libev rules_exist ; then
|
||||||
/etc/init.d/shadowsocks-libev rules_up 2> /dev/null
|
/etc/init.d/shadowsocks-libev rules_up 2> /dev/null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue