angristan/wireguard-install

Installation should refuse to continue if /etc/wireguard exists

Open

#537 opened on Jan 19, 2025

 (0 comments) (2 reactions) (0 assignees)Shell (1,603 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (10,501 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I just had to work around an issue where uninstalling and reinstalling this script left the keys generated from a previous installation, in a new installation. As a result, none of the keys generated, worked with the new install.

The script installation should complain, and refuse to continue, if previous configuration files exist. Alternatively, it should warn the user loudly about problems with the previous install, including saying loudly that newly generated keys won't work.

Contributor guide