摘要: #!/bin/bash # this is a init script ping -c 1 -i 0.1 -W 1 baidu.com a=`echo $?` if [ ${a} == 0 ];then echo "network success" else echo "network failer" exit 2 fi systemctl stop firewalld ... 阅读全文
posted @ 2019-06-14 14:44 峰哥ge 阅读(827) 评论(0) 推荐(0) 编辑