chkcofnig-minimal-script

author :headsen chen

date: 2018-06-04  12:02:27 

#!/bin/bash
for i in `chkconfig --list |awk '{print $1}'`;do chkconfig $i off;done 
for i in network rsyslog crond sshd postfix sysstat;do chkconfig $i on;done #postfix 可以不选,只要不发邮件
View Code

猜你喜欢

转载自www.cnblogs.com/kaishirenshi/p/9132677.html
今日推荐