summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2024-03-02 09:07:22 +0100
committerHolger Paradies <retabell@gmx.de>2024-03-02 09:07:22 +0100
commit73df5b8b2e27e2175f4d85cb71b436ebb693cd4c (patch)
treee4aabf8206f4cee2db9a81ae19480593a4549fc5 /config/chroot_local-hooks
parent06482b998ae07c65b0d72a5ea4b90ac6eca351ec (diff)
downloadkanotix-73df5b8b2e27e2175f4d85cb71b436ebb693cd4c.zip
kanotix-73df5b8b2e27e2175f4d85cb71b436ebb693cd4c.tar.gz
Remove hddtemp and replace with kernelmodul
hddtemp was removed from debian
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/03-slowfire-fixes6
-rwxr-xr-xconfig/chroot_local-hooks/03-speedfire-fixes6
2 files changed, 12 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-slowfire-fixes b/config/chroot_local-hooks/03-slowfire-fixes
index c9f38b1..185e485 100755
--- a/config/chroot_local-hooks/03-slowfire-fixes
+++ b/config/chroot_local-hooks/03-slowfire-fixes
@@ -74,4 +74,10 @@ EOF
sed -i 's/^hpaio/#hpaio/' /etc/sane.d/dll.d/hplip
fi
+# replacement for hddtemp, load kernelmodul
+mkdir -p /etc/modules-load.d
+cat <<"EOF" >/etc/modules-load.d/drivetemp.conf
+drivetemp
+EOF
+
fi
diff --git a/config/chroot_local-hooks/03-speedfire-fixes b/config/chroot_local-hooks/03-speedfire-fixes
index 8615d84..fd21305 100755
--- a/config/chroot_local-hooks/03-speedfire-fixes
+++ b/config/chroot_local-hooks/03-speedfire-fixes
@@ -75,4 +75,10 @@ EOF
sed -i 's/^hpaio/#hpaio/' /etc/sane.d/dll.d/hplip
fi
+# replacement for hddtemp, load kernelmodul
+mkdir -p /etc/modules-load.d
+cat <<"EOF" >/etc/modules-load.d/drivetemp.conf
+drivetemp
+EOF
+
fi