summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsixsixfive2015-12-15 03:58:43 +0100
committersixsixfive2015-12-15 03:58:43 +0100
commit3339671102c239cac821dc8dd67b3b97e75a0fa3 (patch)
tree39bc8dfd6c882633cff908fe0ccac790b50673e0
parent98fa95aa3992c73ecf9f9c3cd4eeb4b406bae15e (diff)
downloadaur-3339671102c239cac821dc8dd67b3b97e75a0fa3.tar.gz
no autostart
-rw-r--r--.SRCINFO2
-rw-r--r--openrc.install15
-rw-r--r--systemd.install15
3 files changed, 21 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cbb307be9a2b..a007df2560c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 15 02:50:50 UTC 2015
+# Tue Dec 15 02:58:34 UTC 2015
pkgbase = thinkfan-git
pkgdesc = Thinkfan is a simple, lightweight fan control program. Originally designed specifically for IBM/Lenovo Thinkpads, it now supports any kind of system via the sysfs hwmon interface (/sys/class/hwmon). It is designed to eat as little CPU power as possible.
pkgver = 1.0.r143
diff --git a/openrc.install b/openrc.install
index b26385e41a72..9fd0e79f2186 100644
--- a/openrc.install
+++ b/openrc.install
@@ -1,13 +1,18 @@
post_install() {
- rc-update add thinkfan default
+ #rc-update add thinkfan default
cat <<\EOF
-Until you configure Thinkfan(/etc/thinkfan.conf) it will always run at
-full speed!
+############################
+# How to get this working? #
+############################
-For proper configuration see the README and example configurations in /usr/share/doc/thinkfan
+#1 Edit the config file /etc/thinkfan.conf:
-Thinkfan will also start automatically after the next reboot!
+For proper configuration see README and example configurations in /usr/share/doc/thinkfan
+
+#2 add/enable the service:
+
+rc-update add thinkfan default
EOF
sleep 5
diff --git a/systemd.install b/systemd.install
index 9e07d9c0d5ce..adc72ecb075f 100644
--- a/systemd.install
+++ b/systemd.install
@@ -1,13 +1,18 @@
post_install() {
- systemctl enable thinkfan.service
+ #systemctl enable thinkfan.service
cat <<\EOF
-Until you configure Thinkfan(/etc/thinkfan.conf) it will always run at
-full speed!
+############################
+# How to get this working? #
+############################
-For proper configuration see the README and example configurations in /usr/share/doc/thinkfan
+#1 Edit the config file /etc/thinkfan.conf:
-Thinkfan will also start automatically after the next reboot!
+For proper configuration see README and example configurations in /usr/share/doc/thinkfan
+
+#2 add/enable the service:
+
+systemctl enable thinkfan.service
EOF
sleep 5