摘要: 现在有这么一个需求,要判断iptables是否开启。咋看比较难以入手,那么可以想,怎么启动iptables,redhat下很容易联想到/etc/init.d/iptabes start 。 我们可以来看一下启动脚本: start() { # Do not start if there is no config file. [ ! -f "$IPTAB... 阅读全文
posted @ 2014-11-01 12:27 过去的我 阅读(743) 评论(0) 推荐(0) 编辑