projects
/
people
/
pmueller
/
ipfire-2.x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e29f27
)
Fix smartctrl should not wakeup sleeping hdd
author
Arne Fitzenreiter
<arne_f@ipfire.org>
Thu, 10 Sep 2009 05:53:12 +0000
(07:53 +0200)
committer
Arne Fitzenreiter
<arne_f@ipfire.org>
Thu, 10 Sep 2009 05:53:12 +0000
(07:53 +0200)
src/misc-progs/smartctrl.c
patch
|
blob
|
blame
|
history
diff --git
a/src/misc-progs/smartctrl.c
b/src/misc-progs/smartctrl.c
index 945c279f50164183ff4302af134c4ee633a86e73..a7491ee35ff9888e8d594f8ce9f99f51ea9681ad 100644
(file)
--- a/
src/misc-progs/smartctrl.c
+++ b/
src/misc-progs/smartctrl.c
@@
-28,7
+28,7
@@
int main(int argc, char *argv[]) {
}
- sprintf(command, "/
tmp
/hddshutdown-%s", argv[1]);
+ sprintf(command, "/
var/run
/hddshutdown-%s", argv[1]);
FILE *fp = fopen(command,"r");
if( fp ) {
fclose(fp);