angristan/wireguard-install

Remove client configuration files when uninstalling WireGuard

Open

#166 opened on Dec 11, 2020

 (2 comments) (1 reaction) (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

Got seemingly invalid client config by these steps:

  • Run the script, add client with name example
  • Remove WireGuard using script menu
  • Run the script again, specified same client name example

The resulting file has.:

[Interface]
...

[Peer]
...
[Interface]
...

[Peer]
...

Contributor guide