wireguard-install
wireguard-install copied to clipboard
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. At least remove the -f switch from rm (rm -r /etc/wireguard
)
but then you need to change it:
if [[ -e /etc/wireguard/params ]]; then
source /etc/wireguard/params
manageMenu
else
installWireGuard
fi
for example this:
wg > /dev/null 2>&1 && source /etc/wireguard/params && manageMenu || installWireGuard