mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
Remove useless /etc/wireguard/params source
We already have the variables we need in the lines above
This commit is contained in:
parent
ec9dd5d5df
commit
4244b2b70a
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue