File: //bin/activate-banner
#!/bin/bash
######
#
#
# Script to activate the banner
#
#
######
# Remove no-welcome-banner to file
sed -i 1d /etc/motd.d/motd.banner
echo;
echo -e "\e[32mBanner Message Activation\e[39m";
echo "Please wait ...";
sleep 3
# Remove permission to activate-banner
chmod -x /bin/activate-banner
# Give permissions to change-banner and remove-banner
chmod +x /bin/change-banner
chmod +x /bin/remove-banner
# Reload the Motd
/etc/motd.d/motd.sh
######
#
# End remove banner script
#
######