From 775284eacb259dace1c3ac7f6bf5075a60730b53 Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Sat, 18 Sep 2021 13:52:41 +0000 Subject: [PATCH] add color, just like for openvpn --- connect_to_wireguard_with_token.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connect_to_wireguard_with_token.sh b/connect_to_wireguard_with_token.sh index 24bdcad..bed485a 100755 --- a/connect_to_wireguard_with_token.sh +++ b/connect_to_wireguard_with_token.sh @@ -55,9 +55,9 @@ if [[ -f /proc/net/if_inet6 ]] && [[ $(sysctl -n net.ipv6.conf.all.disable_ipv6) -ne 1 || $(sysctl -n net.ipv6.conf.default.disable_ipv6) -ne 1 ]] then - echo "You should consider disabling IPv6 by running:" + echo -e "${RED}You should consider disabling IPv6 by running:" echo "sysctl -w net.ipv6.conf.all.disable_ipv6=1" - echo "sysctl -w net.ipv6.conf.default.disable_ipv6=1" + echo -e "sysctl -w net.ipv6.conf.default.disable_ipv6=1${NC}" fi # Check if the mandatory environment variables are set.