aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislas Lange <git@slange.me>2023-01-22 12:11:35 +0100
committerStanislas Lange <git@slange.me>2023-01-22 12:11:35 +0100
commitd02b75367792f63f71fb1bceca467245649f6da3 (patch)
treec10ab12400f9f1834b009e86348448daa804cd20
parent2f7e346767a1996aa89a33c24d845881947842d6 (diff)
Add colors to uninstall warning
-rw-r--r--wireguard-install.sh4
1 files 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