From 059d14ea33dff208570bc8bf396dcb6496a16d9f Mon Sep 17 00:00:00 2001 From: Sakalou Aliaksei Date: Wed, 13 Jan 2021 14:08:18 +0000 Subject: [PATCH] you killed my keys :( I needed to reinstall the wireguard and without warning all the keys were demolished: ( This is bad! At least about this you need to ask the user additionally. --- wireguard-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 746dd5f..a5194c2 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -369,8 +369,8 @@ function uninstallWg() { elif [[ ${OS} == 'arch' ]]; then pacman -Rs --noconfirm wireguard-tools qrencode fi - - rm -rf /etc/wireguard + + #rm -rf /etc/wireguard rm -f /etc/sysctl.d/wg.conf # Reload sysctl