HEX
Server: Apache
System: Linux montechenligne.likuid.com 4.18.0-553.54.1.el8_10.x86_64 #1 SMP Tue May 27 22:49:52 EDT 2025 x86_64
User: logisdtech (1121)
PHP: 7.4.33
Disabled: NONE
Upload Files
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
#
######