Changeset 2849

Show
Ignore:
Timestamp:
01/15/05 12:05:40 (10 years ago)
Author:
khali
Message:

Improve udev detection. Not all systems seem to have exactly the
same /dev/.udev* files or directories.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/detect/sensors-detect

    r2848 r2849  
    18901890 
    18911891  my $use_udev = 0; 
    1892   if (-f '/dev/.udev.tdb') { 
     1892  if (-f '/dev/.udev.tdb' || -f '/dev/.udev' || -d '/dev/.udevdb') { 
    18931893    $use_udev = 1; 
    18941894    $dev_i2c = '/dev/i2c-';