mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user