#!/bin/sh
# This script will *PRE*pended the MOTD file to the MOTD.history
# file before it is changed.  This will give us a history of the
# MOTD in (new -> old) order. Be sure to change the names of the
# files according to your naming convention.

/bin/echo Moving MOTD to front of MOTD.history...

/bin/mv MOTD.history MOTD.history.old
/bin/cat MOTD > MOTD.history

/bin/echo "---------------------------------------------------------------" >> MOTD.history

/bin/cat MOTD.history.old >> MOTD.history

/bin/rm -f MOTD.history.old

