Banners for other system variants

This commit is contained in:
Bob Mottram 2014-09-24 14:44:49 +01:00
parent 0105b14a74
commit d17b7004d6
1 changed files with 34 additions and 9 deletions

View File

@ -144,6 +144,30 @@ function change_login_message {
echo "| | (.-' (.-' ( | ( )| | | | )( )| | (.-' " >> /etc/motd
echo "' ' --' --' -' - -' ' ' -' -' -' ' - --'" >> /etc/motd
if [ $SYSTEM_TYPE == "cloud" ]; then
echo ' .--.. . ' >> /etc/motd
echo ' : | | ' >> /etc/motd
echo ' | | .-. . . .-.| ' >> /etc/motd
echo ' : |( )| |( | ' >> /etc/motd
echo " --' - -' `-- - -' -" >> /etc/motd
fi
if [ $SYSTEM_TYPE == "chat" ]; then
echo ' .--.. . ' >> /etc/motd
echo ' : | _|_ ' >> /etc/motd
echo ' | |--. .-. | ' >> /etc/motd
echo ' : | |( ) | ' >> /etc/motd
echo " --'' - -' - -' " >> /etc/motd
fi
if [ $SYSTEM_TYPE == "social" ]; then
echo ' .-. . ' >> /etc/motd
echo ' ( ) o | ' >> /etc/motd
echo ' `-. .-. .-. . .-. | ' >> /etc/motd
echo ' ( )( )( | ( ) | ' >> /etc/motd
echo " `-' `-' -'-' - -' - - " >> /etc/motd
fi
if [[ $SYSTEM_TYPE == "email" || $SYSTEM_TYPE == "mailbox" ]]; then
echo ' . . . . ' >> /etc/motd
echo ' |\ /| o | | ' >> /etc/motd
@ -151,6 +175,7 @@ function change_login_message {
echo ' | |( ) | | | )( ) : ' >> /etc/motd
echo ' ' ' `-' --' - -' -' `-'-' `- ' >> /etc/motd
fi
echo '' >> /etc/motd
echo ' Freedom in the Cloud' >> /etc/motd
echo '' >> /etc/motd