From 5c8f3f9fbc169e05a1741ae909d870df55977a77 Mon Sep 17 00:00:00 2001 From: Julien Escario Date: Tue, 15 Sep 2020 10:51:42 +0200 Subject: [PATCH] Fixed typo and removed unneeded output --- wireguard/deploy-wg-clients.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wireguard/deploy-wg-clients.sh b/wireguard/deploy-wg-clients.sh index 4cb18d2..04f7ba6 100755 --- a/wireguard/deploy-wg-clients.sh +++ b/wireguard/deploy-wg-clients.sh @@ -34,14 +34,11 @@ Endpoint = vpn.altinea.fr:58212 PersistentKeepalive = 25" > /etc/wireguard/vpnaltinea.conf # Display the public key to add it on the wireguard concentrator -echo -n "Public key : " -cat /etc/wireguard/keys/public.key - echo "Now you should read https://wiki.altinea.fr/doku.php/wireguard#cote_concentrateur_wireguard" echo "" echo "[Peer]" echo "# "`hostname -f` -echo -n "PublicKey" +echo -n "PublicKey = " cat /etc/wireguard/keys/public.key echo "AllowedIPs = $IP4/32, $IP6/64" read -n1 -r -p "Press space only AFTER configuration is done ..."