|
发表于 2005-3-10 17:46:02
|
显示全部楼层
写成shell
antiip.sh
----------------------------------------
#!/bin/sh
while sleep 60 ;do #60秒钟好一点
/etc/init.d/net.eth0 restart
done
----------------------------------------
chmod +x antiip.sh
手工启动:
nohup antii.sh &
再rc.local中加入也行 |
|