Index of /tcl/ftparchive/sorted/packages-7.6/apps/totd
Name Last modified Size Description
Parent Directory 26-Oct-99 08:56 -
README 23-Nov-97 17:26 1k
totd.tar.gz 09-Dec-97 14:47 3k
Tip Of The Day (TOTD) Guidelines
You'll need to cat the /etc/totd file in your standard login script. At
WiredSoc, we use:
if ( -f /etc/totd ) then
echo "Tip of the day:"
cat /etc/totd
endif
and put this inside an if that checks whether the user has a file called
.hushlogin (so people can suppress the totd and motd if they want).
you'll also need to change some of the variables at the top of the settip
script to point to the correct locations on your system.
Finally, you should probably put settip on a cron job to go off every night.
Brian Duff 23-11-97
briand@wiredsoc.ml.org