MOTD updated

This commit is contained in:
Juan Ferrer 2024-09-09 09:11:54 +02:00
parent b6d7ca1590
commit 1fa424975a
1 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,7 @@ BLINK="\033[5m"
PRO="\033[1;5;31m"
LAB="\033[0;35m"
VN="\033[0;32m"
UNKNOWN="\033[0;33m"
FQDN=$(hostname --fqdn)
@ -22,10 +23,10 @@ case "$FQDN" in
ENVIRONMENT="${LAB}Laboratory${RESET}"
;;
*.verdnatura.es)
ENVIRONMENT="${UNKNOWN}Unknown${RESET}"
ENVIRONMENT="${VN}Verdnatura${RESET}"
;;
*)
ENVIRONMENT="-"
ENVIRONMENT="${UNKNOWN}Unknown${RESET}"
;;
esac