Hi, On 26-09-17 16:59, Germano Massullo wrote:
This message may be useful to others having my similar problem. On a Thinkpad X220, after having booted the custom kernel, running [root@machine]# cat /sys/class/scsi_host/host0/link_power_management_policy I get max_performance instead of med_power_with_dipm Here some machine details [root@machine]# cat /etc/rc.d/rc.local #!/bin/sh for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo med_power_with_dipm > $i done [root@machine]# ls -latr /etc/rc.d/rc.local -rwxrwxr-x. 1 user user 119 13 set 14.53 /etc/rc.d/rc.local
It might be that systemd does not like that rc.local is owned by "user" rather then "root" ? Have you tried manually executing rc.local as root: /etc/rc.d/rc.local And / or have you tried to do the echo manually as root ? Regards, Hans _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx