I have a ksh script that is a login menu for my end users. I would like to have one line of the welcome message flash when there is a system notice about an impending outage.
The welcome message is a series of echo statements which prints a text file "msg of the day" with the status msg.
I tried repeating a sleep and clear command on the whole welcome message but it didnt work well and looked a bit dorky.
Any ideas?
clear
echo ""
echo " WELCOME "
echo " User id : $USER"
if [ -f $MSG_OF_DAY -a -n "$1" ]; then
print_msgofday
fi
echo "***********************\n"