Add april fools messsage, move the printf to be the last line so the motd doesn't break

This commit is contained in:
Firepup Sixfifty 2024-05-01 08:39:17 -05:00
parent f1abd591b4
commit 8beeff3bf3
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -25,5 +25,6 @@ if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
DISTRIB_DESCRIPTION=$(lsb_release -s -d) DISTRIB_DESCRIPTION=$(lsb_release -s -d)
fi fi
figlet -f fire $(hostname) figlet -f fire $(hostname)
printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)" [ "$(date +%m/%d)" = "04/01" ] && figlet -f fire "Welcome to Soviet Russia!"
[ "$(date +%m/%d)" = "03/14" ] && figlet -f fire "Happy PI day!" [ "$(date +%m/%d)" = "03/14" ] && figlet -f fire "Happy PI day!"
printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)"