The welcome message which appears on Fedora just before starting udev
can be changed. The standard message is something like "Welcome to
Fedora", this can be changed to whatever you like, you will have to
make changes to /etc/rc.sysinit, find the following section in that
file :

# Print a text banner.
echo -en $"\t\tWelcome to "
read -r redhat_release < /etc/redhat-release
if [[ "$redhat_release" =~ "Red Hat" ]]; then
 [ "$BOOTUP" = "color" ] && echo -en "\\033[0;31m"
 echo -en "Red Hat"
 [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m"
 PRODUCT=`sed "s/Red Hat \(.*\) release.*/\1/" /etc/redhat-release`
 echo " $PRODUCT"
elif [[ "$redhat_release" =~ "Fedora" ]]; then
 [ "$BOOTUP" = "color" ] && echo -en "\\033[0;34m"
 echo -en "Fedora"
 [ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m"
 PRODUCT=`sed "s/Fedora \(.*\) \?release.*/\1/" /etc/redhat-release`
 echo " $PRODUCT"
else
 PRODUCT=`sed "s/ release.*//g" /etc/redhat-release`
 echo "$PRODUCT"
fi
if [ "$PROMPT" != "no" ]; then
 echo -en $"\t\tPress 'I' to enter interactive startup."
 echo
fi


now comment out the whole section and add an echo statement just below
it to print your own message, something like this :

#printing my own message
echo -en $"\n"
[ "$BOOTUP" = "color" ] && echo -en "\\033[0;34m"
echo -en $"Welcome to Satish's Linux Box"
[ "$BOOTUP" = "color" ] && echo -en "\\033[0;39m"

check out  how the change looks here : http://satish.playdrupal.com/?q=node/84
(thats a screenshot while my system was booting on qemu)


Thanks
Satish



-- 
http://satish.playdrupal.com
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to