View Single Post
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#1582
Questions regarding battery-patch:

1) why not copy the customized kernel profile (currently named 'ideal', which is less than ideal...) to '/home/user/.kernel/' so that it doesn't conflict with the profile named 'ideal' already in '/usr/share/kernel-power-settings' / and use a different distinquisable profile name too, like 'profile-ideal-battery' or something else?

2) after 'kernel-config load /home/user/.kernel/<profile>', do an 'kernel-config default /home/user/.kernel/<profile>' too and omit 'kernel-config save /home/user/.kernel/<profile>' instead

3) for '/opt/scripts/' and 'opt/scripts/*.sh', is it necessary to have executable rights for 'group' and 'others'? i did:
- 'sudo chown root:root /opt/scripts && chown root:root /opt/scripts/*.sh'
- granted 'w' only to 'u', so it looks like 'rwr-x-rx' for '/opt/scripts/*.sh'
- i did 'chown root:root /etc/event.d/dbus-scripts' too
- i did 'chown root:root /etc/dbus-scripts.d/*' too

Should be more 'correct' and enough i think?

Last edited by don_falcone; 2011-08-02 at 20:44.
 

The Following User Says Thank You to don_falcone For This Useful Post: