From 8beeff3bf3ab7465b0b5410cc763de8490a19aff Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Wed, 1 May 2024 08:39:17 -0500 Subject: [PATCH] Add april fools messsage, move the printf to be the last line so the motd doesn't break --- 00-header | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/00-header b/00-header index 37629e5..3f1edef 100755 --- a/00-header +++ b/00-header @@ -25,5 +25,6 @@ if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then DISTRIB_DESCRIPTION=$(lsb_release -s -d) fi 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!" +printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)"