00-header
This commit is contained in:
parent
b9a3848d58
commit
abe7529d53
14
00-header
Normal file
14
00-header
Normal 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
|
||||||
Reference in New Issue
Block a user