blob: 2eb32ad80b58e05a3b5fe9e4d8bfdd5708f4528c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- ksensors-0.7.3.orig/src/hdsensorslist.cpp 2007-04-15 02:15:32.000000000 +0200
+++ ksensors-0.7.3/src/hdsensorslist.cpp 2007-04-15 02:18:27.000000000 +0200
@@ -46,7 +46,7 @@
for(QStringList::Iterator it = disks.begin(); it != disks.end(); ++it ) {
ProcessExec proc;
- proc << "hddtemp" << "-q";
+ proc << "/usr/sbin/hddtemp" << "-q";
proc << *it;
if(proc.runAndWait()) {
double value;
@@ -87,7 +87,7 @@
if(params.count()>0) {
process= new ProcessExec;
- *process << "hddtemp" << "-q" << params;
+ *process << "/usr/sbin/hddtemp" << "-q" << params;
connect( process, SIGNAL(processExited(KProcess *)), this, SLOT(slotProcessExited(KProcess *)) );
process->run();
}
@@ -139,7 +139,7 @@
{
ProcessExec proc;
- proc << "hddtemp" << "-v" ;
+ proc << "/usr/sbin/hddtemp" << "-v" ;
if(proc.runAndWait()) {
if(proc.getStdoutData().contains("ERROR")==0) return true;
qWarning("HddTemp Error:\n%s", proc.getStdoutData().ascii());
|