#!/bin/rc -x # for use with irc7 # rotate log and connect to server rm -f /srv/slirc ctime=`{ctime} >/tmp/slirc.$ctime chmod 700 /tmp/slirc.$ctime cp /tmp/slirc /tmp/slirc.$ctime rm /tmp/slirc ircsrv -e stanleylieber tcp!chat.freenode.org!7070