mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update index.py
This commit is contained in:
@@ -49,8 +49,10 @@ def getArgs():
|
||||
def status():
|
||||
|
||||
data = public.execShell('sudo sysctl -n net.ipv4.tcp_congestion_control')
|
||||
print data
|
||||
return 'start'
|
||||
r = data[0].strip()
|
||||
if r == 'bbr':
|
||||
return 'start'
|
||||
return 'stop'
|
||||
|
||||
if __name__ == "__main__":
|
||||
func = sys.argv[1]
|
||||
|
||||
Reference in New Issue
Block a user