CentOS - Disable unuseful service

Shell Disable một số service trong CentOS, tự viết đấy nhé. :D

#!/bin/bash

services="acpid anacron apmd autofs bluetooth cups firstboot gpm haldaemon messagebus mdmonitor hidd ip6tables kudzu lvm2-monitor netfs nfslock pcscd portmap rpcgssd rpcidmad sendmail smartd yum-updatesd"
for service in $services; do
service $service stop
chkconfig --level 35 $service off
done
echo "Complelte"

http://www.mediafire.com/?fvfzi0wjmgo
Thanks for reading
--------------------------------------------------------------------------
All my Lab:
Linux Lab -- window and Cisco Lab
to be continued - I will update more.

Nam Habach