mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-26 22:52:35 +00:00
lmsensors-config: add configuration file sensord
It is needed to start sensord.service. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
21fe8a55f6
commit
06efc118e0
16
meta-oe/recipes-support/lm_sensors/lmsensors-config/sensord
Normal file
16
meta-oe/recipes-support/lm_sensors/lmsensors-config/sensord
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# configuration for hardware sensors monitoring daemon
|
||||||
|
# in intervals use suffix "m" for minutes, "s" for seconds, "h" for hours
|
||||||
|
# 0 means turning facility off
|
||||||
|
|
||||||
|
# interval between scanning alarms
|
||||||
|
INTERVAL=1m
|
||||||
|
|
||||||
|
# interval between logging
|
||||||
|
LOG_INTERVAL=20m
|
||||||
|
|
||||||
|
# interval between RRD logging
|
||||||
|
# RRD_INTERVAL=1m
|
||||||
|
|
||||||
|
# RRD db location
|
||||||
|
# RRD_LOGFILE=/var/log/sensors.rrd
|
||||||
|
|
||||||
@ -10,6 +10,7 @@ SRC_URI = "file://fancontrol \
|
|||||||
file://sensord.cgi \
|
file://sensord.cgi \
|
||||||
file://sensord.conf \
|
file://sensord.conf \
|
||||||
file://sensors.conf \
|
file://sensors.conf \
|
||||||
|
file://sensord \
|
||||||
"
|
"
|
||||||
S = "${WORKDIR}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
@ -17,9 +18,9 @@ RDEPENDS_${PN}-dev = ""
|
|||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# Install fancontrol configuration file
|
# Install fancontrol configuration file
|
||||||
install -d ${D}${sysconfdir}
|
install -d ${D}${sysconfdir}/sysconfig
|
||||||
install -m 0644 ${WORKDIR}/fancontrol ${D}${sysconfdir}
|
install -m 0644 ${WORKDIR}/fancontrol ${D}${sysconfdir}
|
||||||
|
install -m 0644 ${WORKDIR}/sensord ${D}${sysconfdir}/sysconfig
|
||||||
# Install libsensors configuration file
|
# Install libsensors configuration file
|
||||||
install -d ${D}${sysconfdir}/sensors.d
|
install -d ${D}${sysconfdir}/sensors.d
|
||||||
install -m 0644 ${WORKDIR}/sensors.conf ${D}${sysconfdir}/sensors.d
|
install -m 0644 ${WORKDIR}/sensors.conf ${D}${sysconfdir}/sensors.d
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user