Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting2.git;a=commitdiff;h=f2b2eb6a73e3b208ebf48fe8e20b35244219369d

commit f2b2eb6a73e3b208ebf48fe8e20b35244219369d
Author: James Buren <[email protected]>
Date:   Tue Jun 5 03:45:00 2012 -0500

lmsensors-3.3.2-2-x86_64
* convert to use systemd schema

diff --git a/source/apps/lmsensors/FrugalBuild 
b/source/apps/lmsensors/FrugalBuild
index dbfb1a2..520517b 100644
--- a/source/apps/lmsensors/FrugalBuild
+++ b/source/apps/lmsensors/FrugalBuild
@@ -5,7 +5,7 @@
pkgname=lmsensors
_F_archive_name=lm_sensors
pkgver=3.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Linux System Hardware Monitor"
url="http://www.lm-sensors.org/";
groups=('apps')
@@ -15,7 +15,10 @@ makedepends=('kernel-source')
options=('force')
up2date="Flasttar http://www.lm-sensors.org/wiki/Download";
source=(http://dl.lm-sensors.org/lm-sensors/releases/$_F_archive_name-$pkgver.tar.bz2
 rc.lmsensors README.Frugalware)
-backup=(etc/{sensors.conf,sysconfig/lm_sensors})
+backup=(etc/{sensors3.conf,sysconfig/lm_sensors})
+_F_sysvinit_units=(lmsensors)
+_F_systemd_units=(lmsensors=e)
+Finclude systemd

build() {
Fcd
@@ -26,9 +29,11 @@ build() {
Frm usr/include/linux/
Frcd lmsensors
Fdoc README.Frugalware
+       Ffilerel prog/init/lm_sensors.service 
/lib/systemd/system/$pkgname.service
+       Fgenscriptlet
}

sha1sums=('5d0f026ad763124e8c2ad733b6e1ad5e6473993d' \
'f91892076a106c4aaee29f9611b9f004ddb392ab' \
-          '62f12385b257170a95fbac89afc10523e152f216')
+          'b92e656dba5a89d79da0daa5f75189055a83c3bc')
# optimization OK
diff --git a/source/apps/lmsensors/README.Frugalware 
b/source/apps/lmsensors/README.Frugalware
index 212cde8..7e0baa3 100644
--- a/source/apps/lmsensors/README.Frugalware
+++ b/source/apps/lmsensors/README.Frugalware
@@ -1,4 +1,4 @@
-Lmsensors is a hardware monitoring tool which is able to read thermal and
+lmsensors is a hardware monitoring tool which is able to read thermal and
voltage values and fan speeds from the sensor chips of your motherboard.
Before running sensors you have to run sensors-detect as root to initialize
them. It will autodetect your hardware and define which kernel modules you
@@ -7,14 +7,8 @@ boot.

So if you want to use lmsensors try to run

-----------------
-# sensors-detect
-----------------
+----
+sensors-detect
+----

-and say YES at end of sensors-detect to write '/etc/sysconfig/lm_sensors'.
-
-Then issue:
-
--------------------------
-# service lmsensors start
--------------------------
+and say YES at end of sensors-detect to write `/etc/sysconfig/lm_sensors`.
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to