mirror of
https://github.com/Kiritow/wg-ops.git
synced 2024-03-22 13:11:37 +08:00
Support colorful print
This commit is contained in:
parent
b60fdfea64
commit
0ae3396cd6
|
@ -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
|
||||
''')
|
||||
|
|
Loading…
Reference in New Issue
Block a user