mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 06:23:00 +02:00
Fix smartctrl should not wakeup sleeping hdd
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user