#!/bin/bash # # Setup NISDOMAIN # #WORKGROUPDOMAIN= #domain="NISDOMAIN=$WORKGROUPDOMAIN" #file=/etc/sysconfig/network #grep "$domain" $file > /dev/null || echo "$domain" >> $file # make sure needed services are on #/sbin/chkconfig --level 35 ypbind on /sbin/chkconfig --level 35 portmap on /sbin/chkconfig --level 35 nfs on /sbin/chkconfig --level 35 nfslock on #/sbin/chkconfig --level 35 autofs on rpm -e arpwatch rpm -e rwho rpm -e rusers rpm -e routed