powertop overrides
This commit is contained in:
parent
c740fdf21c
commit
a4ab59a9d9
1 changed files with 1 additions and 3 deletions
|
|
@ -26,9 +26,7 @@ in {
|
|||
Type = "oneshot";
|
||||
RemainAfterExit = "yes";
|
||||
ExecStart = "${pkgs.powertop}/bin/powertop --auto-tune";
|
||||
ExecStartPost = "
|
||||
/bin/sh -c 'for f in $(grep -l 'Keyboard' /sys/bus/usb/devices/*/product | sed \"s/product\\\\power/control/\"); do echo on >| '$f'; done'
|
||||
";
|
||||
ExecStartPost = "/bin/sh -c 'for f in $(grep -l \"Keyboard\" /sys/bus/usb/devices/*/product | sed \"s/product/power\\\\/control/\"); do echo on >| '$f'; done'";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue