查看服务自启情况
chkconfig --list|grep iptables
iptables??????? 0:off?? 1:off?? 2:on??? 3:on??? 4:on??? 5:on??? 6:off
关闭自启
chkconfig --level 35 iptables off
查看服务自启情况
chkconfig --list|grep iptables
iptables??????? 0:off?? 1:off?? 2:on??? 3:off?? 4:on??? 5:off?? 6:off
?