wireguard-install icon indicating copy to clipboard operation
wireguard-install copied to clipboard

you killed my keys :(

Open soko1 opened this issue 4 years ago • 1 comments

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)

soko1 avatar Jan 13 '21 14:01 soko1

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

soko1 avatar Jan 13 '21 14:01 soko1