From 679ff2b988db67b738a9b0a36e8fbc0a90957873 Mon Sep 17 00:00:00 2001 From: Tobias Lindenberg Date: Sat, 26 Sep 2020 15:38:45 +0200 Subject: [PATCH] removed debug messages --- wireguard-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 85833af..109a651 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -138,7 +138,7 @@ new_client_dns () { new_client_setup () { # Get the first 3 octets of wireguard's `Address` - first3octets=$(grep Address /etc/wireguard/wg0.conf | grep -Pom 1 '[0-9.]{7,15}' | rev | cut -d "." -f2- | rev) && echo $first3octets + first3octets=$(grep Address /etc/wireguard/wg0.conf | grep -Pom 1 '[0-9.]{7,15}' | rev | cut -d "." -f2- | rev) # Given a list of the assigned internal IPv4 addresses, obtain the lowest still # available octet. Important to start looking at 2, because 1 is our gateway. octet=2 @@ -238,7 +238,6 @@ if [[ ! -e /etc/wireguard/wg0.conf ]]; then read -p "WG Network [10.7.0.0/24]: " wg_private_net done [[ -z "$wg_private_net" ]] && wg_private_net="10.7.0.0/24" - echo $wg_private_net echo echo "What port should WireGuard listen to?"