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.
This commit is contained in:
Sakalou Aliaksei 2021-01-13 14:08:18 +00:00 committed by GitHub
parent 21b5e56eea
commit 059d14ea33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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