add check for /dev/MAKEDEV

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4586 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Hans de Goede committed 2007-07-08 05:55:17 +00:00
1 parent cc286d3091
commit f51cffe559
1 file changed
+3
+3
View File
@@ -2174,6 +2174,9 @@ sub initialize_conf
if (! -c '/dev/i2c-0' && -x '/sbin/MAKEDEV') {
system("/sbin/MAKEDEV i2c");
}
if (! -c '/dev/i2c-0' && -x '/dev/MAKEDEV') {
system("/dev/MAKEDEV i2c");
}
if (-c '/dev/i2c-0') {
$dev_i2c = '/dev/i2c-';
} else { # default