summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ironware.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
-rw-r--r--lib/oxidized/model/ironware.rb8
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