From 0855ebd0022b6f7ec14cbf348c5b84a231490342 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 10 Jan 2015 20:37:10 +0700 Subject: system/TLP: Update README.Slackware. Signed-off-by: Willy Sudiarto Raharjo --- system/TLP/README.SLACKWARE | 27 --------------------------- system/TLP/README.Slackware | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 27 deletions(-) delete mode 100644 system/TLP/README.SLACKWARE create mode 100644 system/TLP/README.Slackware diff --git a/system/TLP/README.SLACKWARE b/system/TLP/README.SLACKWARE deleted file mode 100644 index a07043ddbb..0000000000 --- a/system/TLP/README.SLACKWARE +++ /dev/null @@ -1,27 +0,0 @@ -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 - -# Start the tlp service -/etc/rc.d/rc.tlp start - -# Restart acpid -/etc/rc.d/rc.acpid restart - -# Configure tlp to be run at startup -add "/etc/rc.d/rc.tlp start" (without quotes) to /etc/rc.d/rc.local - -# Give execute permission to rc.tlp -chmod +x /etc/rc.d/rc.tlp - -After removal of this package you would need to revert the above changes. -Please make sure that you stopped the TLP service before removing TLP. diff --git a/system/TLP/README.Slackware b/system/TLP/README.Slackware new file mode 100644 index 0000000000..9a03357ea8 --- /dev/null +++ b/system/TLP/README.Slackware @@ -0,0 +1,20 @@ +Post installation steps: + +# Start the tlp service +/etc/rc.d/rc.tlp start + +# Restart acpid +/etc/rc.d/rc.acpid restart + +# Configure tlp to be run at startup +add "/etc/rc.d/rc.tlp start" (without quotes) to /etc/rc.d/rc.local + +# Give execute permission to rc.tlp +chmod +x /etc/rc.d/rc.tlp + +After removal of this package you would need to revert the above changes. +Please make sure that you stopped the TLP service before removing TLP. + +If you have enabled any hooks in /usr/lib/pm-utils/power.d/ (they are disabled by default), +then the instructions given in the TLP developer documentation can be followed. +http://linrunner.de/en/tlp/docs/tlp-developer-documentation.html#installscripts -- cgit v1.2.3