From d90228825f3158016999f79a07865f7940007835 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Sun, 27 Mar 2022 22:32:45 +0800 Subject: [PATCH] Update menu.sh --- menu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu.sh b/menu.sh index 5800561..c4bb276 100644 --- a/menu.sh +++ b/menu.sh @@ -1123,7 +1123,7 @@ install(){ if [[ $OCTEEP = 1 ]]; then cat > /etc/wireguard/proxy.conf << EOF # SelfSecretKey is the secret key of your wireguard peer -SelfSecretKey = $(grep PrivateKey wgcf-profile.conf | cut -d= -f2) +SelfSecretKey = $(grep PrivateKey wgcf-profile.conf | sed "s/PrivateKey = //g") # SelfEndpoint is the IP of your wireguard peer SelfEndpoint = 172.16.0.2 # PeerPublicKey is the public key of the wireguard server you want to connect to