summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-04-14 14:41:06 +0300
committerytti <saku@ytti.fi>2015-04-14 14:41:06 +0300
commitf3cf80c488d51f79a9f6ec762547a9f5ced29be7 (patch)
tree2e198c8e2b912dd25e3a9377f14fc365b10b6f83
parent75b97a38262c93c20bd6e2e372b40787ffdccb41 (diff)
parentde794202e76335527036f7ad6a434dfbdb2ccb5a (diff)
Merge pull request #103 from FlorianDoublet/ironwareModif
Add a pre_logout for some devices
-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