summaryrefslogtreecommitdiff
path: root/system/TLP
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-10 20:37:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-10 21:03:16 +0700
commit0855ebd0022b6f7ec14cbf348c5b84a231490342 (patch)
tree0330c3c298a5ade97f1d8f25c5875051239c2b25 /system/TLP
parent0265930b78002fbbf7428cf17e0ded3946f8c68b (diff)
downloadslackbuilds-0855ebd0022b6f7ec14cbf348c5b84a231490342.tar.gz
system/TLP: Update README.Slackware.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/TLP')
-rw-r--r--system/TLP/README.SLACKWARE27
-rw-r--r--system/TLP/README.Slackware20
2 files changed, 20 insertions, 27 deletions
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