diff options
author | Stanislas Lange <git@slange.me> | 2023-01-22 10:45:15 +0100 |
---|---|---|
committer | Stanislas Lange <git@slange.me> | 2023-01-22 10:45:15 +0100 |
commit | 424a92d1e01f34d02974c82de3f08252212eb464 (patch) | |
tree | e8ec59002b8b10f434d6680b92c0575a8dd3c30e | |
parent | 7565f26b5d2e4542f777001859970378704ce288 (diff) |
Add more warnings for uninstall option
Fix https://github.com/angristan/wireguard-install/pull/176
-rw-r--r-- | wireguard-install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wireguard-install.sh b/wireguard-install.sh index b6bf2db..b61e6a4 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -407,6 +407,8 @@ function revokeClient() { function uninstallWg() { echo "" + echo "WARNING: This will uninstall WireGuard and remove all the configuration files!" + echo "Please backup the /etc/wireguard directory if you want to keep your configuration files." read -rp "Do you really want to remove WireGuard? [y/n]: " -e REMOVE REMOVE=${REMOVE:-n} if [[ $REMOVE == 'y' ]]; then |