core130: remove lm_sensors config
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 7 Apr 2019 16:19:50 +0000 (18:19 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 7 Apr 2019 16:19:50 +0000 (18:19 +0200)
the sensor search has to redone after boot the new kernel.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/130/update.sh

index 33bcafa..a3a8886 100644 (file)
@@ -130,6 +130,9 @@ rm -rfv \
 /etc/init.d/unbound restart
 /etc/init.d/suricata start
 
+# Search sensors again after reboot into the new kernel
+rm -f  /etc/sysconfig/lm_sensors
+
 # Upadate Kernel version uEnv.txt
 if [ -e /boot/uEnv.txt ]; then
        sed -i -e "s/KVER=.*/KVER=${KVER}/g" /boot/uEnv.txt