Created
December 4, 2012 09:05
-
-
Save betrcode/4202040 to your computer and use it in GitHub Desktop.
Scripts to turn on/off CC#2 on a iTach WF2CC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
spawn telnet 1.3.3.184 4998 | |
expect "Escape character is '^]'." | |
send "setstate,1:2,1\r" | |
expect "setstate,1:2,1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
spawn telnet 1.3.3.184 4998 | |
expect "Escape character is '^]'." | |
send "setstate,1:2,0\r" | |
expect "setstate,1:2,0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment