Re: Improving Linux laptop battery life: Testers Wanted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 27, 2017 at 11:54:29PM +0200, Germano Massullo wrote:
> 
> > It might be that systemd does not like that rc.local is owned
> > by "user" rather then "root"
> Unfortunately
> # chown root:root /etc/rc.d/rc.local
> did not solve the problem, instead manually running the script as root,
> changed the
> /sys/class/scsi_host/host0/link_power_management_policy
> state to
> med_power_with_dipm

(No idea why rc.local is not working for you.)

A simpler option might be to use add a tmpfiles.d entry:

# /etc/tmpfiles.d/sata.conf 
w /sys/class/scsi_host/host*/link_power_management_policy - - - - med_power_with_dipm

Zbyszek
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux