#!/bin/bash


export PATH=/usr/bin:/bin:/usr/bin:/usr/X11R6/bin:/root/bin 
. /root/.bashrc


if [ "`echo $PATH | grep /usr/farm/bin`" = "" ]; then
	echo "Fixing .bashrc"
	echo "" >> /root/.bashrc
	echo "export PATH=\$PATH:/usr/farm/bin" >> /root/.bashrc
else
	echo "bashrc okay"
fi


if [ "`grep console /etc/services |  grep -v '^#' `" = "" ]; then
	echo "Fixing services"
#	echo "" >> /etc/services
	echo "console		782/tcp	conserver		# conserver" >> /etc/services
else
	echo "services okay"
fi
