Files
gobot/motor-control/firmware/scripts/remote/reset.exp
2024-09-27 23:19:39 +02:00

13 lines
144 B
Plaintext
Executable File

#!/usr/bin/expect
set timeout 30
set host [lindex $argv 0]
spawn telnet $host 4444
expect "> "
send "reset\n"
expect "> "
send "exit\n"
exit