On Mon, Nov 19, 2012 at 4:25 AM, Kai Hendry <hen...@iki.fi> wrote: > Hi there, > > I would normally put these `powertop -html` tunables in rc.local: > http://s.natalian.org/2012-11-19/1353291487_1366x768.png > > Is http://0pointer.de/public/systemd-man/tmpfiles.d.html the right > place? If so powertop could do with some patches to help create the > file, one would think.
`iwconfig` and `ethtool` should go in udev(7) rules; that way they will be applied as soon as the hardware appears -- even if, for some reason, it happens twice. https://github.com/vodik/powersave/blob/master/rules.d/50-usb-powersave.rules The same applies to SATA and PCI settings under /sys: https://github.com/vodik/powersave/blob/master/rules.d/50-sata-powersave.rules https://github.com/vodik/powersave/blob/master/rules.d/50-pci-powersave.rules Anything that is written to /sys/module/*/parameters goes to modprobe.d(5) -- again, to be applied when the module is inserted, not at some fixed point: https://github.com/vodik/powersave/blob/master/modprobe.d/powersave.conf Use sysctl.conf(5) for settings under /proc/sys: https://github.com/vodik/powersave/blob/master/sysctl.d/powersave.conf (Side note: Is it really better to turn the NMI watchdog off?) -- Mantas Mikulėnas _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel