From d02b75367792f63f71fb1bceca467245649f6da3 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Sun, 22 Jan 2023 12:11:35 +0100 Subject: [PATCH] Add colors to uninstall warning --- wireguard-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireguard-install.sh b/wireguard-install.sh index 97cf3f1..7b4ffe8 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -408,8 +408,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." + echo -e "\n${RED}WARNING: This will uninstall WireGuard and remove all the configuration files!${NC}" + echo -e "${ORANGE}Please backup the /etc/wireguard directory if you want to keep your configuration files.\n${NC}" read -rp "Do you really want to remove WireGuard? [y/n]: " -e REMOVE REMOVE=${REMOVE:-n} if [[ $REMOVE == 'y' ]]; then