1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-11-28 15:56:36 +00:00

Update names

This commit is contained in:
Luca Albuquerque 2019-06-04 20:36:53 -03:00
parent ed75f787b8
commit 8c9c13e582

View File

@ -137,8 +137,8 @@ read -r -p "Want to use pre-shared symmetric key? [y/N] " response
case "$response" in case "$response" in
[yY][eE][sS]|[yY]) [yY][eE][sS]|[yY])
CLIENT_SYMM_PRE_KEY=$( wg genpsk ) CLIENT_SYMM_PRE_KEY=$( wg genpsk )
echo "PresharedKey = $CLIENT_PRE_KEY" >> "/etc/wireguard/$SERVER_WG_NIC.conf" echo "PresharedKey = $CLIENT_SYMM_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" >> "$HOME/$SERVER_WG_NIC-client.conf"
;; ;;
esac esac