Skip to content

Commit

Permalink
Merge pull request #667 from devicenull/patch-6
Browse files Browse the repository at this point in the history
Update ironware.rb
  • Loading branch information
ytti authored Jan 18, 2017
2 parents 1b7b5e6 + 3472545 commit 1b73ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/model/ironware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class IronWare < Oxidized::Model
cfg.gsub! /(^((.*)Current temp(.*))$)/, '' #remove unwanted lines current temperature
cfg.gsub! /Speed = [A-Z-]{2,6} \(\d{2,3}\%\)/, '' #remove unwanted lines Speed Fans
cfg.gsub! /current speed is [A-Z]{2,6} \(\d{2,3}\%\)/, ''
cfg.gsub! /([\[]*)1([\]]*)<->([\[]*)2([\]]*)<->([\[]*)3([\]]*)/, ''
cfg.gsub! /([\[]*)1([\]]*)<->([\[]*)2([\]]*)(<->([\[]*)3([\]]*))*/, ''
cfg.gsub! /\d{2}\.\d deg-C/, 'XX.X deg-C'
if cfg.include? "TEMPERATURE"
sc = StringScanner.new cfg
Expand Down

0 comments on commit 1b73ac3

Please sign in to comment.