diff options
author | Saku Ytti <saku@ytti.fi> | 2016-11-11 12:02:15 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2016-11-11 12:02:15 +0200 |
commit | 689d4dba60de7a1faf555011f9db6fb3aef2fbea (patch) | |
tree | fa2c7112f18d00fb28f9fea42713dce24f7da584 /lib/oxidized/model/powerconnect.rb | |
parent | 212214592b59c184cfed451e9529e9c7bb366b99 (diff) |
expect prompt after entering enable password
Diffstat (limited to 'lib/oxidized/model/powerconnect.rb')
-rw-r--r-- | lib/oxidized/model/powerconnect.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/powerconnect.rb b/lib/oxidized/model/powerconnect.rb index f0fa3df..ac36c26 100644 --- a/lib/oxidized/model/powerconnect.rb +++ b/lib/oxidized/model/powerconnect.rb @@ -39,7 +39,7 @@ class PowerConnect < Oxidized::Model if vars :enable post_login do send "enable\n" - send vars(:enable) + "\n" + cmd vars(:enable) end end |