![]() |
telnet to reset modem > can't close
Code:
#!/usr/bin/expect -f how could I exit this? |
The easy way is to remove the "&& sleep 70". The problem is that you
must disconnect before the telnet session is killed, which is less than 70 seconds. If you really want to stay connected, just reduce the number of seconds before you run exit. |
yeah, I've got it to work - a bit tricky because of the reboot/lost connection
Code:
#!/usr/bin/expect -f |
All times are GMT -5. The time now is 02:22 PM. |