Remove useless /etc/wireguard/params source

We already have the variables we need in the lines above
This commit is contained in:
randomshell 2020-07-01 18:56:29 +00:00
parent ec9dd5d5df
commit 4244b2b70a

View file

@ -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