diff options
author | Luca Albuquerque <lucalacerda1@gmail.com> | 2019-06-04 20:36:53 -0300 |
---|---|---|
committer | Luca Albuquerque <lucalacerda1@gmail.com> | 2019-06-04 20:36:53 -0300 |
commit | 8c9c13e58213e097e53eefbdd688093336b4e9db (patch) | |
tree | 724c459da85b3ae190664447a51c093e8ae308fd /wireguard-install.sh | |
parent | ed75f787b80ab1461c0348d595d6ee9c32dbff0b (diff) |
Update names
Diffstat (limited to 'wireguard-install.sh')
-rw-r--r-- | wireguard-install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wireguard-install.sh b/wireguard-install.sh index f0487fe..571e2b3 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -137,8 +137,8 @@ read -r -p "Want to use pre-shared symmetric key? [y/N] " response case "$response" in [yY][eE][sS]|[yY]) CLIENT_SYMM_PRE_KEY=$( wg genpsk ) - echo "PresharedKey = $CLIENT_PRE_KEY" >> "/etc/wireguard/$SERVER_WG_NIC.conf" - echo "PresharedKey =$CLIENT_PRE_KEY" >> "$HOME/$SERVER_WG_NIC-client.conf" + echo "PresharedKey = $CLIENT_SYMM_PRE_KEY" >> "/etc/wireguard/$SERVER_WG_NIC.conf" + echo "PresharedKey =$CLIENT_SYMM_PRE_KEY" >> "$HOME/$SERVER_WG_NIC-client.conf" ;; esac |