diff options
author | ytti <saku@ytti.fi> | 2015-04-21 21:58:26 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2015-04-21 21:58:26 +0300 |
commit | edc59e1ba1eeae6e75ae008d104a05ad37daa963 (patch) | |
tree | 347014c56cb33c0ab88bbf7a02fccd77199ef986 | |
parent | 063254e4389fed56b539b4d29d31b1e69509e234 (diff) | |
parent | 56ac846fc96857ee7f71d3a8ee92390857a9a150 (diff) |
Merge pull request #110 from rixxxx/working-screenos
Fix pre_logout in case the configuration is not saved and ScreenOS asks ...
-rw-r--r-- | lib/oxidized/model/screenos.rb | 5 |
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 |