]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/misc-progs/smartctrl.c
Fix smartctrl should not wakeup sleeping hdd
[people/pmueller/ipfire-2.x.git] / src / misc-progs / smartctrl.c
index 945c279f50164183ff4302af134c4ee633a86e73..a7491ee35ff9888e8d594f8ce9f99f51ea9681ad 100644 (file)
@@ -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);