diff --git a/plugins/bbr/index.py b/plugins/bbr/index.py index bd9d30913..4fb20b9e5 100755 --- a/plugins/bbr/index.py +++ b/plugins/bbr/index.py @@ -72,7 +72,7 @@ def start(): cmd = 'echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf' public.execShell(cmd) public.execShell('sysctl -p') - return 'ok' + return '重启系统生效' def stop(): @@ -85,7 +85,7 @@ def stop(): cmd2 = "sed -i '/net\.ipv4\.tcp_congestion_control/d' /etc/sysctl.conf" public.execShell(cmd2) public.execShell("sysctl -p") - return 'ok' + return '重启系统生效' def restart():