From 4244b2b70a19473878172c73cf40a5eea31d3a57 Mon Sep 17 00:00:00 2001 From: randomshell Date: Wed, 1 Jul 2020 18:56:29 +0000 Subject: [PATCH] Remove useless /etc/wireguard/params source We already have the variables we need in the lines above --- wireguard-install.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index cc720ad..2d32c99 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -118,8 +118,6 @@ SERVER_PORT=$SERVER_PORT SERVER_PRIV_KEY=$SERVER_PRIV_KEY SERVER_PUB_KEY=$SERVER_PUB_KEY" >/etc/wireguard/params - source /etc/wireguard/params - # Add server interface echo "[Interface] Address = $SERVER_WG_IPV4/24,$SERVER_WG_IPV6/64