diff options
author | aaditya <aaditya_gnulinux@zoho.com> | 2013-11-30 16:32:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-12-01 01:13:51 +0700 |
commit | 8bf207875a236641cc8ec3121eef4d9f04a317fc (patch) | |
tree | 8744826ba9e88c803f31666de7d7964913e28623 /system/TLP/README.SLACKWARE | |
parent | 3dbae8184e87cabf4d8d52ca294bf7288d3d9b33 (diff) |
system/TLP: Added (Advanced Power Management Tool).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/TLP/README.SLACKWARE')
-rw-r--r-- | system/TLP/README.SLACKWARE | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/system/TLP/README.SLACKWARE b/system/TLP/README.SLACKWARE new file mode 100644 index 0000000000000..74e422cf2e687 --- /dev/null +++ b/system/TLP/README.SLACKWARE @@ -0,0 +1,27 @@ +Some post installation tasks need to be done like the autostarting of tlp +via an entry /etc/rc.d/rc.local, and a post-installation script mentioned +at http://linrunner.de/en/tlp/docs/tlp-developer-documentation.html. + +# Disable conflicting pm-utils hooks +for i in 95hdparm-apm disable_wol hal-cd-polling intel-audio-powersave \ + harddrive laptop-mode journal-commit pci_devices pcie_aspm readahead \ + sata_alpm sched-powersave usb_bluetooth wireless xfs_buffer; do + if [ -x /usr/lib/pm-utils/power.d/$i ]; then + ln -sf /usr/lib/tlp-pm/tlp-nop /etc/pm/power.d/$i + fi +done + +#Configure tlp to be run at startup +echo "/etc/rc.d/rc.tlp start" >> /etc/rc.d/rc.local + +# Give execute permission to rc.tlp +chmod +x /etc/rc.d/rc.tlp + +#Start the tlp service +/etc/rc.d/rc.tlp start + +# Restart acpid +/etc/rc.d/rc.acpid restart + +After removal of this package you need to revert the above changes. +Please make sure you stopped TLP service before removing TLP. |