Listing 2 Some common tasks desired for your home network
/sbin/chkconfig --level 2345 ypbind off
/sbin/chkconfig --level 2345 sendmail off
/sbin/chkconfig --level 2345 amd off
/bin/cp /etc/bootprofile/homenet/fstab /etc/fstab
/bin/cp /etc/bootprofile/homenet/syslog.conf /etc/syslog.conf
/bin/cp /etc/bootprofile/homenet/resolv.conf /etc/resolv.conf
/bin/cp /etc/bootprofile/homenet/static-routes
/etc/sysconfig/static-routes
/bin/cp /etc/bootprofile/homenet/network
/etc/sysconfig/network
/bin/cp /etc/bootprofile/homenet/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0
/bin/rm -f /usr/local
/bin/ln -s /usr/local.offsite /usr/local
/bin/rm -f /etc/rc.d/rc3.d/S98networker
/bin/rm -f /etc/rc.d/rc5.d/S98networker
/root/myscript
|