aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wireguard-install.sh2
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