系统环境:
[root@mail01z ~]# cat /etc/issue
CentOS release 4.4 (Final)
Kernel \r on an \m
[root@mail01z ~]# uname -a
Linux prmail01z 2.6.9-42.ELsmp #1 SMP Tue Aug 15 10:35:26 BST 2006 x86_64 x86_64 x86_64 GNU/Linux
[root@mail01z ~]# cat hoge.sh
for y in kudzu ip6tables iptables isdn pcmcia cups xinetd gpm iiim xfs anacron firstboot cups-config-daemon
do
service $y stop
chkconfig --level 12345 $y off
done
评论