ソースを参照

fixed qrcode out to file option

toastie89 2 年 前
コミット
2f82be090a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      linux/wireguard/create-config/wg-createconfig.sh

+ 1 - 1
linux/wireguard/create-config/wg-createconfig.sh

@@ -41,7 +41,7 @@ PresharedKey = `cat $peer.psk`
 EOL
 
   qrencode  -t ANSIUTF8 -r $peer.conf > $peer-qr.txt
-  qrencode  -t png -r $peer.conf > $peer.png
+  qrencode  -t png -r $peer.conf -o $peer.png
 }