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