00-header

This commit is contained in:
Halbe Bruno 2025-02-10 13:31:25 -03:00
parent b9a3848d58
commit abe7529d53

14
00-header Normal file
View File

@ -0,0 +1,14 @@
#!/bin/sh
[ -r /etc/lsb-release ] && . /etc/lsb-release
if [ -z "\$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
# Fall back to using the very slow lsb_release utility
DISTRIB_DESCRIPTION=\$(lsb_release -s -d)
fi
figlet -W -w 480 \$(hostname)
printf "\\n"
printf "Bem vindo ao %s (%s).\\n" "\$DISTRIB_DESCRIPTION" "\$(uname -r)"
printf "\\n"$0