#!/bin/sh

echo "Installing RadLog 1.0 by Rick Nickell"
echo "You can get the latest rev of this"
echo "freeware product at:"
echo "http://www.old-dominion.net/"
cp ./radlog.sh ./radlog
chmod 700 ./radlog
mv ./radlog /usr/local/bin/
last -10 | /usr/bin/Mail -s 'I Just Installed RadLog V1.0' info@old-dominion.net
echo "Registered your Freeware Copy"
crontab -l >> ./temp
cat ./install.1 >> ./temp
crontab ./temp
rm ./temp
echo "Updated Crontab"
echo "RadLog V1.0 by Rick Nickell NOW INSTALLED and Running!"
echo "New files will slowly appear in your accounting directory"
echo "and in SIX weeks, you will have the complete set + the ARCHIVE!"
echo "There is nothing more for you to do... Do not execute the program"
echo "as it will be automatically executed..."
