From 0ae3396cd6e0f3ed98acc38a24d170fe0f9e5f87 Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Fri, 30 Jul 2021 19:04:34 +0000 Subject: [PATCH] Support colorful print --- tool_generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool_generate.py b/tool_generate.py index cd06962..5384341 100644 --- a/tool_generate.py +++ b/tool_generate.py @@ -46,7 +46,7 @@ MTU = {} '''.format(config["ip"], config["prikey"], config["listen"], config["mtu"])) # Generate PostUp - f.write('''PostUp=/bin/tmux new-session -s tunnel -d 'watch -n 1 wg' + f.write('''PostUp=/bin/tmux new-session -s tunnel -d 'watch -n 1 --color WG_COLOR_MODE=always wg' PostUp=sysctl net.core.default_qdisc=fq PostUp=sysctl net.ipv4.tcp_congestion_control=bbr ''')