diff options
author | ytti <saku@ytti.fi> | 2017-02-05 15:18:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-05 15:18:07 +0200 |
commit | b74e638066e0f0efeeb27042b8c0fde9839e721c (patch) | |
tree | 1ae8887797c8a66142738adb0950c6d547c77391 /lib/oxidized/model/ironware.rb | |
parent | a2c727de033e9c5b837e327dfa5c3328ae89793e (diff) | |
parent | b6affdfc6ee0b142f5a7b7f01854909babb80b23 (diff) |
Merge pull request #694 from wendelj/master
Cleaner way to fix older IronWare devices
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
-rw-r--r-- | lib/oxidized/model/ironware.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb index bfcd3a4..c7c2197 100644 --- a/lib/oxidized/model/ironware.rb +++ b/lib/oxidized/model/ironware.rb @@ -81,13 +81,7 @@ class IronWare < Oxidized::Model post_login '' post_login 'skip-page-display' post_login 'terminal length 0' - pre_logout do - send "logout\n" - sleep 0.01 - send "exit\n" - sleep 0.01 - send "exit\n" - end + pre_logout "logout\nexit\nexit\n" end end |