diff --git a/00-header b/00-header new file mode 100644 index 0000000..299497f --- /dev/null +++ b/00-header @@ -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 \ No newline at end of file