24 lines
1.0 KiB
Diff
24 lines
1.0 KiB
Diff
diff -uNr lm_sensors-2.10.1.orig/prog/detect/sensors-detect lm_sensors-2.10.1/prog/detect/sensors-detect
|
|
--- lm_sensors-2.10.1.orig/prog/detect/sensors-detect 2006-09-25 00:30:10.000000000 +0200
|
|
+++ lm_sensors-2.10.1/prog/detect/sensors-detect 2006-11-16 19:00:36.000000000 +0100
|
|
@@ -40,8 +40,8 @@
|
|
unless $ENV{PATH} =~ m,(^|:)/sbin/?(:|$),;
|
|
# Same for /usr/local/sbin since we need i2cdetect which is installed there
|
|
# by default (reported by Lennard Klein)
|
|
-$ENV{PATH} = '/usr/local/sbin:'.$ENV{PATH}
|
|
- unless $ENV{PATH} =~ m,(^|:)/usr/local/sbin/?(:|$),;
|
|
+$ENV{PATH} = '/usr/sbin:'.$ENV{PATH}
|
|
+ unless $ENV{PATH} =~ m,(^|:)/usr/sbin/?(:|$),;
|
|
|
|
#########################
|
|
# CONSTANT DECLARATIONS #
|
|
@@ -5430,7 +5430,7 @@
|
|
print "#----cut here----\n".
|
|
$modprobes.
|
|
"# sleep 2 # optional\n".
|
|
- "/usr/local/bin/sensors -s # recommended\n".
|
|
+ "/usr/bin/sensors -s # recommended\n".
|
|
"#----cut here----\n\n";
|
|
|
|
print "If you have some drivers built into your kernel, the list above will\n".
|