Performance,Utilities,Monitoring, etc tools for Devuan This tools will be used in Single Board Computers and maybe others device images..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
1.2 KiB

#! /bin/sh
# Maintainer: tuxd3v <tuxd3v@sapo.pt>
# Execute this cript on the target machine to create '/etc/update-motd.d/20-devuan'
# Logout and Login again to see the efect
echo -en "\033[1;35m ____ ____\033[0m\033[1;31m __ ___ _ _ \033[0m\033[1;35m__ _ \033[0m\n" > /etc/update-motd.d/20-devuan
echo -en "\033[1;35m| _ \| ____\033[0m\033[1;31m\ \ / / | | | / \ \033[0m\033[1;35m| \ | |\033[0m\033[0;32m __ _ _ __ _ __ ___ \033[0m\n" >> /etc/update-motd.d/20-devuan
echo -en "\033[1;35m| | | | _|\033[0m\033[1;31m \ \ / /| | | |/ _ \ \033[0m\033[1;35m| \| |\033[0m\033[0;32m/ _\` | '__| '_ \` _ \ \033[0m\n" >> /etc/update-motd.d/20-devuan
echo -en "\033[1;35m| |_| | |___\033[0m\033[1;31m \ V / | |_| / ___ \ \b\033[0m\033[1;35m| |\ \033[0m\033[0;32m| (_| | | | | | | | |\033[0m\n" >> /etc/update-motd.d/20-devuan
echo -en "\033[1;35m|____/|_____|\033[0m\033[1;31m \_/\033[0m \033[1;31m\___/_/\033[0m \033[1;31m\_\ \b\033[0m\033[1;35m_| \__|\033[0m\033[0;32m\__,_|_| |_| |_| |_|\033[0m\n" >> /etc/update-motd.d/20-devuan
# This will call in '/etc/update-motd.d/10-uname' the content above
sed -i '2icat /etc/update-motd.d/20-devuan' /etc/update-motd.d/10-uname