14 lines
367 B
Bash
14 lines
367 B
Bash
#!/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" |