标签:
/etc/init.d/drcomd:
1 #!/bin/sh 2 # 3 # The environment is cleared before executing this script 4 # so the path must be reset 5 # 6 PATH=/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin 7 export PATH 8 nohup drcomd > /dev/null 2>&1 &
/usr/local/sbin/drcomd:
1 #!/bin/sh 2 3 while true; do 4 ping www.baidu.com -c1 > /dev/null 2>&1 || curl -d "DDDDD=xxx&upass=yyy&R1=0&R2=1¶=00&0MKKey=123456" http://a.b.c.d > /dev/null 2>&1 5 sleep 5 6 done
标签:
原文地址:http://www.cnblogs.com/esxgx/p/4566071.html