mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 13:57:41 +00:00
handle /usr/bin location of sensors command in example scripts printed by sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4569 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -5632,7 +5632,9 @@ sub main
|
||||
print "#----cut here----\n".
|
||||
$modprobes.
|
||||
"# sleep 2 # optional\n".
|
||||
"/usr/local/bin/sensors -s # recommended\n".
|
||||
(-e '/usr/bin/sensors' ?
|
||||
"/usr/bin/sensors -s # recommended\n" :
|
||||
"/usr/local/bin/sensors -s # recommended\n") .
|
||||
"#----cut here----\n\n";
|
||||
|
||||
print "If you have some drivers built into your kernel, the list above will\n".
|
||||
|
Reference in New Issue
Block a user