git://git.onelab.eu
/
monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4be20
)
added some new cr
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Wed, 7 Nov 2007 18:22:05 +0000
(18:22 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Wed, 7 Nov 2007 18:22:05 +0000
(18:22 +0000)
reboot.py
patch
|
blob
|
history
diff --git
a/reboot.py
b/reboot.py
index
764bcc7
..
46486e2
100755
(executable)
--- a/
reboot.py
+++ b/
reboot.py
@@
-106,7
+106,10
@@
def ipal_reboot(ip, password, port, dryrun):
telnet_answer(telnet, "Password >", "\r\n\r\n")
# Login
- telnet_answer(telnet, "Password >", password + "\r\n\r\n")
+ telnet_answer(telnet, "Password >", password)
+
+ # XXX Some iPals require you to hit Enter a few times first
+ telnet.write("\r\n\r\n")
# P# - Pulse relay
if not dryrun: