summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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