mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-03 07:45:30 +00:00
Fix the udev detection in the case /etc/udev/udev.conf exists
but doesn't mention a specific db location. Tested by Rudolf Marek. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3232 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -2019,7 +2019,9 @@ sub initialize_conf
|
||||
}
|
||||
}
|
||||
close INPUTFILE;
|
||||
} else {
|
||||
}
|
||||
|
||||
if (!$use_udev) {
|
||||
# Try some known default udev db locations, just in case
|
||||
if (-e '/dev/.udev.tdb' || -e '/dev/.udev'
|
||||
|| -e '/dev/.udevdb' || -e '/dev/.udevdb') {
|
||||
|
Reference in New Issue
Block a user