fix: refs #7735 MOTD updated and fixes

This commit is contained in:
Juan Ferrer 2024-09-08 16:40:23 +02:00
parent eb08a7f164
commit b6d7ca1590
1 changed files with 15 additions and 18 deletions

View File

@ -1,6 +1,3 @@
#!/bin/sh
uname -snrvm
root@dhcp1:/etc/dhcp/subnets# cat /etc/update-motd.d/90-vn
#!/bin/bash #!/bin/bash
LABEL="\033[0;32m" LABEL="\033[0;32m"
@ -25,10 +22,10 @@ case "$FQDN" in
ENVIRONMENT="${LAB}Laboratory${RESET}" ENVIRONMENT="${LAB}Laboratory${RESET}"
;; ;;
*.verdnatura.es) *.verdnatura.es)
ENVIRONMENT="-" ENVIRONMENT="${UNKNOWN}Unknown${RESET}"
;; ;;
*) *)
ENVIRONMENT="${UNKNOWN}Unknown${RESET}" ENVIRONMENT="-"
;; ;;
esac esac