summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ironware.rb
diff options
context:
space:
mode:
authorflorian <florian@debian-Florian>2015-04-14 10:45:44 +0200
committerflorian <florian@debian-Florian>2015-04-14 11:24:41 +0200
commitde794202e76335527036f7ad6a434dfbdb2ccb5a (patch)
tree8e4d75341fa55fd6ddcbb2d8f45c8ce213ce7d09 /lib/oxidized/model/ironware.rb
parent130c46b33f6a2e5c774587874fc67f91192c6bf1 (diff)
Add a pre_logout for some devices
Add an other post_login for some devices and a pre_logout
Diffstat (limited to 'lib/oxidized/model/ironware.rb')
-rw-r--r--lib/oxidized/model/ironware.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb
index 2f8df7f..b0d88f8 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -57,7 +57,10 @@ class IronWare < Oxidized::Model
end
end
post_login 'skip-page-display'
+ post_login 'terminal length 0'
pre_logout 'logout'
+ pre_logout 'exit'
+ pre_logout 'exit'
end
end \ No newline at end of file