summaryrefslogtreecommitdiff
path: root/extra/lm_sensors
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-24 00:04:12 +0000
committerroot <root@rshg054.dnsready.net>2012-06-24 00:04:12 +0000
commit4319f36e44d4e7c70bf010c3286bb1739c59d4de (patch)
tree570e5a756192067d69cbabeab8fcf6b81cec3c51 /extra/lm_sensors
parent11357a5ab02a7d536375fb8333b2fb67278b4a36 (diff)
Sun Jun 24 00:04:11 UTC 2012
Diffstat (limited to 'extra/lm_sensors')
-rw-r--r--extra/lm_sensors/PKGBUILD8
-rw-r--r--extra/lm_sensors/fancontrol.service9
2 files changed, 14 insertions, 3 deletions
diff --git a/extra/lm_sensors/PKGBUILD b/extra/lm_sensors/PKGBUILD
index e2463836e..2d85f9060 100644
--- a/extra/lm_sensors/PKGBUILD
+++ b/extra/lm_sensors/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 155754 2012-04-06 00:24:13Z dreisner $
+# $Id: PKGBUILD 162161 2012-06-22 12:59:02Z dreisner $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=lm_sensors
pkgver=3.3.2
-pkgrel=2
+pkgrel=3
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring"
arch=('i686' 'x86_64')
url="http://www.lm-sensors.org/"
@@ -15,7 +15,7 @@ backup=('etc/sensors3.conf' 'etc/conf.d/healthd' 'etc/conf.d/sensord')
options=('!emptydirs')
source=(http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${pkgver}.tar.bz2{,.sig} \
sensors.rc fancontrol.rc healthd healthd.conf healthd.rc sensord.conf \
- sensord.rc daemonarg.patch linux_3.0.patch)
+ sensord.rc fancontrol.service daemonarg.patch linux_3.0.patch)
sha1sums=('5d0f026ad763124e8c2ad733b6e1ad5e6473993d'
'a486d9fb6c5b0aff4520f6312106c67f5163f1cf'
'b2e664b9b87759991f02d0a1e8cac5e95098c0a5'
@@ -25,6 +25,7 @@ sha1sums=('5d0f026ad763124e8c2ad733b6e1ad5e6473993d'
'e662881f5d3f3f35a1bc97ba45d2c471dd28c37f'
'de8d4d65406815c389f8a04e2a8508a1ae6749c8'
'72a60251d1d55a67307dab4105d9f3f01a080af4'
+ '7a4a4d1442aeeba0ba8aefb742a3ef187b593f4c'
'34241388c4001bfb6e49b7e10da1217e29a258d6'
'5662828085cdd981f0dc7cf8f79d3d6e2b72f50c')
@@ -50,4 +51,5 @@ package() {
install -D -m644 "${srcdir}/healthd.conf" "${pkgdir}/etc/conf.d/healthd"
install -D -m755 "${srcdir}/sensord.rc" "${pkgdir}/etc/rc.d/sensord"
install -D -m644 "${srcdir}/sensord.conf" "${pkgdir}/etc/conf.d/sensord"
+ install -D -m644 "${srcdir}/fancontrol.service" "${pkgdir}/usr/lib/systemd/system/fancontrol.service"
}
diff --git a/extra/lm_sensors/fancontrol.service b/extra/lm_sensors/fancontrol.service
new file mode 100644
index 000000000..c86b498f8
--- /dev/null
+++ b/extra/lm_sensors/fancontrol.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Fan control daemon
+
+[Service]
+PIDFile=/var/run/fancontrol.pid
+ExecStart=/usr/sbin/fancontrol
+
+[Install]
+WantedBy=multi-user.target