Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

you killed my keys :( #176

Closed
wants to merge 1 commit into from
Closed

you killed my keys :( #176

wants to merge 1 commit into from

Conversation

soko1
Copy link

@soko1 soko1 commented Jan 13, 2021

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)

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.
@soko1
Copy link
Author

soko1 commented Jan 13, 2021

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

@angristan angristan closed this in 424a92d Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant