Files
gobot/motor-control/firmware/scripts/reset.exp
2025-01-12 00:16:00 +01:00

13 lines
154 B
Plaintext
Executable File

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