lm-sensors: add version check override

Add version check override script.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
This commit is contained in:
Wei-Ting Yang
2026-05-22 23:42:11 +08:00
committed by George Sapkin
parent a356098556
commit 757ba7fa41
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
lm-sensors)
sensors --version | grep -F "$PKG_VERSION"
;;
lm-sensors-detect)
# Require user input
exit 0
;;
libsensors*)
# Shared libraries
exit 0
;;
isadump|isaset)
# Do not provide version information
exit 0
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac