mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Track is shadowsocks is up or not
This commit is contained in:
parent
0e22cbd6b2
commit
0387798d74
6 changed files with 146 additions and 12 deletions
|
@ -103,15 +103,18 @@
|
|||
|
||||
if (mArray.openmptcprouter.socks_service == false)
|
||||
{
|
||||
statusMessage += 'Socks service is not running<br/>';
|
||||
statusMessage += 'ShadowSocks is not running<br/>';
|
||||
}
|
||||
if (mArray.openmptcprouter.tun_service == false)
|
||||
{
|
||||
statusMessage += 'TUN service is not running<br/>';
|
||||
statusMessage += 'GloryTUN is not running<br/>';
|
||||
}
|
||||
if (mArray.openmptcprouter.wan_addr == "")
|
||||
{
|
||||
statusMessage += 'No VPS IP address';
|
||||
statusMessage += 'No VPS IP address, No WAN IP address';
|
||||
} else if (mArray.openmptcprouter.ss_addr == "")
|
||||
{
|
||||
statusMessage += 'ShadowSocks not working';
|
||||
}
|
||||
|
||||
if(statusMessage !== "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue