Atualizar 00-header
This commit is contained in:
parent
4520d97846
commit
87abcdd954
12
00-header
12
00-header
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
[ -r /etc/lsb-release ] && . /etc/lsb-release
|
[ -r /etc/lsb-release ] && . /etc/lsb-release
|
||||||
|
|
||||||
if [ -z "\$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
|
if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
|
||||||
# Fall back to using the very slow lsb_release utility
|
# Fall back to using the very slow lsb_release utility
|
||||||
DISTRIB_DESCRIPTION=\$(lsb_release -s -d)
|
DISTRIB_DESCRIPTION=$(lsb_release -s -d)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
figlet -W -w 480 \$(hostname)
|
figlet -W -w 480 $(hostname)
|
||||||
printf "\\n"
|
printf "\n"
|
||||||
|
|
||||||
printf "Bem vindo ao %s (%s).\\n" "\$DISTRIB_DESCRIPTION" "\$(uname -r)"
|
printf "Bem vindo ao %s (%s).\n" "$DISTRIB_DESCRIPTION" "$(uname -r)"
|
||||||
printf "\\n"$0
|
printf "\n"
|
||||||
Reference in New Issue
Block a user