diff options
author | ytti <saku@ytti.fi> | 2015-04-28 11:56:48 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2015-04-28 11:56:48 +0300 |
commit | 0062fb6dd291718714af046ca7be4a6b2c739d74 (patch) | |
tree | 0c017267d66255efaf9f2e28c77358908661472f | |
parent | eb753e2d8c19bd99ea36d8b0f492aaff5bb996bf (diff) | |
parent | ba6b0f9fb3d0276b4dfe795b878c4712233e342b (diff) |
Merge pull request #113 from rixxxx/screenos-fixes
Skip Datetime and Uptime from system information
-rw-r--r-- | lib/oxidized/model/screenos.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/screenos.rb b/lib/oxidized/model/screenos.rb index c13e64a..7ee9d9f 100644 --- a/lib/oxidized/model/screenos.rb +++ b/lib/oxidized/model/screenos.rb @@ -18,6 +18,8 @@ class ScreenOS < Oxidized::Model end cmd 'get system' do |cfg| + cfg.gsub! /^Date\ .*\n/, '' + cfg.gsub! /^Up\ .*\n/, '' comment cfg end |