ninurta: fix path to binary in udev rule
This commit is contained in:
parent
39a33ac0d2
commit
7614142c11
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ in
|
|||
(pkgs.writeTextFile {
|
||||
name = "60-hdparm";
|
||||
text = ''
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]", ATTRS{queue/rotational}=="1", RUN+="/usr/bin/hdparm -S 60 /dev/%k"
|
||||
ACTION=="add|change", KERNEL=="sd[a-z]", ATTRS{queue/rotational}=="1", RUN+="${pkgs.hdparm}/bin/hdparm -S 60 /dev/%k"
|
||||
'';
|
||||
destination = "/etc/udev/rules.d/60-hdparm.rules";
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue