Browse Source

Update wg5clients.sh

蘭雅sRGB 6 years ago
parent
commit
7576b6fa96
1 changed files with 5 additions and 5 deletions
  1. 5 5
      Wireguard/wg5clients.sh

+ 5 - 5
Wireguard/wg5clients.sh

@@ -151,11 +151,11 @@ EOF
 
 # 安装二维码插件
 apt -y install qrencode
-cat /etc/wireguard/client.conf | qrencode -o client.png -t UTF8
-cat /etc/wireguard/client_2.conf | qrencode -o client_2.png -t UTF8
-cat /etc/wireguard/client_3.conf | qrencode -o client_3.png -t UTF8
-cat /etc/wireguard/client_4.conf | qrencode -o client_4.png -t UTF8
-cat /etc/wireguard/client_5.conf | qrencode -o client_5.png -t UTF8
+cat /etc/wireguard/client.conf | qrencode -o client.png
+cat /etc/wireguard/client_2.conf | qrencode -o client_2.png
+cat /etc/wireguard/client_3.conf | qrencode -o client_3.png
+cat /etc/wireguard/client_4.conf | qrencode -o client_4.png
+cat /etc/wireguard/client_5.conf | qrencode -o client_5.png
 
 # 重启wg服务器
 wg-quick down wg0