#!/bin/sh
echo "Configuring sysmanager to run on this machine..."
rm -f sysmanager
WISH=`which wish | grep /wish`
WISH41=`which wish4.1 | grep /wish`
WISH42=`which wish4.2 | grep /wish`
if   [ $WISH42 ]; then
	echo '#!'$WISH42 > sysmanager
elif [ $WISH41 ]; then
	echo '#!'$WISH41 > sysmanager
elif [ $WISH   ]; then
	echo '#!'$WISH > sysmanager
else
	echo "WISH not found on your system, you must configure by hand!!!"
	exit
fi
cat sysmanager.tcl >> sysmanager
chmod 755 sysmanager

