diff options
author | Christoffer Stokbaek <christoffers@easyspeedy.com> | 2016-08-05 11:29:28 +0200 |
---|---|---|
committer | Christoffer Stokbaek <christoffers@easyspeedy.com> | 2016-08-05 11:29:28 +0200 |
commit | aad3637ba0ee88778468bd1b8cd36f26e1393b98 (patch) | |
tree | 03dee0ab33645db346f9f5affff9ee0850d2ed74 | |
parent | b8988ecf7edfbcb414fc93baa54e702f95ed80fe (diff) |
Removed telnet from config
-rw-r--r-- | lib/oxidized/pfsense.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/oxidized/pfsense.rb b/lib/oxidized/pfsense.rb index 078c2a4..cd6885c 100644 --- a/lib/oxidized/pfsense.rb +++ b/lib/oxidized/pfsense.rb @@ -2,7 +2,6 @@ class PfSense < Oxidized::Model comment '# ' - #add a comment in the final conf def add_comment comment "\n###### #{comment} ######\n" @@ -18,20 +17,9 @@ class PfSense < Oxidized::Model cfg += cmd 'cat /cf/conf/config.xml' end - cfg :ssh do exec true - end - - cfg :telnet do - username /^Username:/ - password /^Password:/ - end - - cfg :telnet, :ssh do pre_logout 'exit' end - end - |