ROS5X-6X脚本(10-15分钟执行一次)
  1. #DDNS本站帐号
  2. :global ddnsuser "用户名"
  3. #DDNS本站密码
  4. :global ddnspass "密码"
  5. #ROS系统版本(5X,6X)
  6. :global rver "5X"
  7. #DDNS域名(本站添加的子域名)
  8. :global zhost "hello"
  9. #以下不需要修改
  10. :if (rver = "5X") do={
  11. /tool fetch url=("http://www.cat-home.org/ddns/goddns.php\?user=$ddnsuser&passwd=$ddnspass&zym=$zhost") mode=http keep-result=no
  12. } else={
  13. /tool fetch url=("https://cat-home.org/ddns/goddns.php\?user=$ddnsuser&passwd=$ddnspass&zym=$zhost") keep-result=no
  14. }
05-12 04:49