summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-03-14 18:29:24 +0200
committerytti <saku@ytti.fi>2015-03-14 18:29:24 +0200
commita7b632815f5c1db1d44810067ac41caa3c40fb2e (patch)
tree37a587815f885ecd1d1ee55452817ce8925c17fb
parentfb0e4e191af9bd686a64d055700e1d0ef7c39c8b (diff)
parentbf89123121deab937fa24c3530fd349a5cc9049b (diff)
Merge pull request #91 from emjemj/master
Fix terminal length issues with older powerconnect switches
-rw-r--r--lib/oxidized/model/powerconnect.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb
index a1fe229..429f1c8 100644
--- a/lib/oxidized/model/powerconnect.rb
+++ b/lib/oxidized/model/powerconnect.rb
@@ -39,8 +39,10 @@ class PowerConnect < Oxidized::Model
end
end
+ post_login "terminal datadump"
post_login "terminal length 0"
pre_logout "logout"
+ pre_logout "exit"
end