From d5f8fafe3b09600e16bbd88e40e7163dca66b0ef Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 29 Sep 2021 23:26:37 -0400 Subject: [PATCH] wggen: Remove redundant private key generation Whoops! Copy pasted too many times it appears. --- usr/local/bin/wggen | 1 - 1 file changed, 1 deletion(-) diff --git a/usr/local/bin/wggen b/usr/local/bin/wggen index 1c8179c..b89a098 100755 --- a/usr/local/bin/wggen +++ b/usr/local/bin/wggen @@ -21,7 +21,6 @@ fi CONF="$DATADIR/$NAME" mkdir -p "$CONF" openssl rand -base64 32 > "$CONF/private.key" -openssl rand -base64 32 > "$CONF/private.key" ifconfig wg9 destroy 2>/dev/null || true ifconfig wg9 create wgport 13421 wgkey "$(cat "$CONF/private.key")" -- libgit2 1.1.1