echo "Hello, this is FarmsConsole" > /tmp/FarmsConsole
date >> /tmp/FarmsConsole
/sbin/chkconfig --level 2345 lpd off
/sbin/chkconfig --level 2345 autofs off
/sbin/chkconfig --level 2345 sendmail off
/sbin/chkconfig --level 2345 rhnsd off
/sbin/chkconfig --level 2345 netfs off
/sbin/chkconfig --level 2345 apmd off
/sbin/chkconfig --level 2345 ipchains off
/sbin/chkconfig --level 2345 iptables off
/sbin/chkconfig --level 2345 nfslock off
/sbin/chkconfig klogin on
/sbin/chkconfig kshell on
/sbin/chkconfig eklogin on

#cd /root/
#tar xvfz /etc/FarmsConsole/configfiles/icewm.tgz

########################################################
# Run Voldemort's PULLRSYNC client
#######################################################

HOSTNAME="$(grep HOSTNAME /etc/sysconfig/network | grep -v DHCP | cut -d'=' -f2
| cut -d'.' -f1)"
echo $HOSTNAME > /tmp/hostname

if [ -e /sbin/pullrsync ]
then
    /sbin/pullrsync -H $HOSTNAME -I
fi


