date_tmp=`date` str_tmp="..........Loop start." echo "$date_tmp $str_tmp" >>/net.log sleep 300 while true do sleep 120 result=`ping www.baidu.com -c 10 | grep "min/avg/max" -c` if [ "$result" != "1" ]; then date_tmp=`date` str_tmp="..........The host is …