Changeset 265

Show
Ignore:
Timestamp:
08/18/04 19:50:56 (8 years ago)
Author:
jimmyo
Message:

Made generic/hddtemp2 understand environment variables with quotes (Deb#265022).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0-stable/ChangeLog

    • Property cvs2svn:cvs-rev changed from 1.79.2.10 to 1.79.2.11
    r263 r265  
    1313    (Deb#256380). 
    1414  * Made linux/sensors_volt work with negative voltages (Deb#256734). 
     15  * Made generic/hddtemp2 understand environment variables with quotes 
     16    (Deb#265022). 
    1517 
    1618munin (1.0.0) 
  • branches/1.0-stable/node/node.d/hddtemp2.in

    • Property cvs2svn:cvs-rev changed from 1.1.2.2 to 1.1.2.3
    r259 r265  
    2121# 
    2222# $Log$ 
     23# Revision 1.1.2.3  2004/08/18 17:50:56  jimmyo 
     24# Made generic/hddtemp2 understand environment variables with quotes (Deb#265022). 
     25# 
    2326# Revision 1.1.2.2  2004/08/18 17:01:01  jimmyo 
    2427# Force LANG/LC_ALL=C in linux/sensors_ and generic/hddtemp2, to remove problems in parsing of sensors output (SF#972749, SF#972748, Deb#255312) 
     
    5154my @disks = (glob("/dev/hd?"), glob("/dev/sd?")); 
    5255if (exists $ENV{ignore}) { 
     56  $ENV{ignore} =~ s/["']//g; 
    5357  my %ignore = map {$_ => 1} split(' ', $ENV{ignore}); 
    5458  @disks = grep {! exists $ignore{$_} } @disks;