Skip to content

Commit

Permalink
Highlight VPN disabled warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Trigus42 committed Dec 17, 2023
1 parent 46765fc commit c473f63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rootfs/etc/cont-init.d/01-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ if [[ $VPN_ENABLED != "no" ]]; then
echo "$(date +'%Y-%m-%d %H:%M:%S') [INFO] VPN_TYPE defined as '${VPN_TYPE}'"
fi
elif [[ $VPN_ENABLED == "no" ]]; then
echo "$(date +'%Y-%m-%d %H:%M:%S') [WARNING] You have set the VPN to disabled, your connection will NOT be secure."
BIRed='\033[1;91m'
On_IGreen='\033[0;102m'
COLOR_RESET='\033[0m'
echo -e "$(date +'%Y-%m-%d %H:%M:%S') [WARNING] ${On_IGreen}${BIRed}You have set the VPN to disabled, your connection will NOT be secure.${COLOR_RESET}"
fi

##########
Expand Down

0 comments on commit c473f63

Please sign in to comment.