mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
collectd: initskript: dont run sensors-detect on aarch64
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -31,6 +31,9 @@ case "$1" in
|
|||||||
if [ "${machine:0:3}" = "arm" ]; then
|
if [ "${machine:0:3}" = "arm" ]; then
|
||||||
touch /etc/sysconfig/lm_sensors
|
touch /etc/sysconfig/lm_sensors
|
||||||
fi
|
fi
|
||||||
|
if [ "${machine:0:7}" = "aarch64" ]; then
|
||||||
|
touch /etc/sysconfig/lm_sensors
|
||||||
|
fi
|
||||||
|
|
||||||
# At first run search for sensors with sensors-detect
|
# At first run search for sensors with sensors-detect
|
||||||
if [ ! -e /etc/sysconfig/lm_sensors ]; then
|
if [ ! -e /etc/sysconfig/lm_sensors ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user