#!/bin/sh
CIRCUS_LIBDIR=/usr/lib/circus
TCL_LIBRARY=/usr/lib/circus/tcl
TK_LIBRARY=/usr/lib/circus/tk
HUSH_LIBRARY=/usr/lib/circus/hush
export TCL_LIBRARY TK_LIBRARY HUSH_LIBRARY

echo "cIRCus 0.43 by Ivo van der Wijk and Mark de Boer"
echo "For more information check:"
echo
echo "     http://www.nijenrode.nl/~ivo/circus/"
echo

if ! [ -f ~/.circusrc ]; then
	echo Copying .circusrc to your home directory
	echo
	echo "You can change default settings such as nick, ircserver, etc. by"
	echo "editing /root/.circusrc and changing the bottom few lines."
	sleep 7
	cp /usr/lib/circus/system.circusrc ~/.circusrc
fi

/usr/lib/circus/circus-bin -root /usr/lib/circus  /var/tmp/rpm-tmp.12750 < /dev/null
