aMadEUs_119

StartAtSpecificTime(2)

Jan 29th, 2012
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. 192.168.1.1
  2. WAIT "login:"
  3. SEND "admin\m"
  4. WAIT "Password:"
  5. SEND "BGCVDSL2\m"
  6. WAIT "[admin @ home]$"
  7. SEND "rg_conf_set dev/ppp0/time_rule/time_rule_id 0\m"
  8. WAIT "[admin @ home]$"
  9. SEND "rg_conf_set time_rule/0/time/0/hour/0/start 10800\m"
  10. WAIT "[admin @ home]$"
  11. SEND "rg_conf_set time_rule/0/time/0/hour/0/end 10830\m"
  12. WAIT "[admin @ home]$"
  13. SEND "rg_conf_set time_rule/0/time/0/hour/1/start 50400\m"
  14. WAIT "[admin @ home]$"
  15. SEND "rg_conf_set time_rule/0/time/0/hour/1/end 50430\m"
  16. WAIT "[admin @ home]$"
  17. SEND "rg_conf_set time_rule/0/time/0/day/0 -1\m"
  18. WAIT "[admin @ home]$"
  19. SEND "rg_conf_set time_rule/0/description 'Daily Reconnect'\m"
  20. WAIT "[admin @ home]$"
  21. SEND "rg_conf_set time_rule/0/is_disabling 1\m"
  22. WAIT "[admin @ home]$"
  23. SEND "save\m"
  24. WAIT "[admin @ home]$"
  25. SEND "exit"
Advertisement
Add Comment
Please, Sign In to add comment