mirror of
https://github.com/pia-foss/manual-connections.git
synced 2025-02-05 14:08:29 +00:00
add color, just like for openvpn
This commit is contained in:
parent
a5bd8532be
commit
775284eacb
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user