summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/screenos.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/oxidized/model/screenos.rb b/lib/oxidized/model/screenos.rb
index 57c7c2f..907097a 100644
--- a/lib/oxidized/model/screenos.rb
+++ b/lib/oxidized/model/screenos.rb
@@ -33,7 +33,10 @@ class ScreenOS < Oxidized::Model
cfg :telnet, :ssh do
post_login 'set console page 0'
- pre_logout 'exit'
+ pre_logout do
+ send "exit\n"
+ send "n"
+ end
end
end