This file contains hidden or 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/expect -f | |
| # Simon Loader (simon@loaders | |
| # | |
| # This was used while working on remote equipment and having no way to reset when getting configuration wrong | |
| # Put it in a crontab or in a shell with a long sleep. | |
| # Should be easy to change for cisco / juniper etc. | |
| # | |
| # Get CLI args | |
| set pass [lrange $argv 0 0] | |
| set ip [lrange $argv 1 1] |
NewerOlder