lm_sensors/lm_sensors-modprobe-wrapper
Petr Šabata af43b359bc RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/lm_sensors#e7371e4a9ed1d14d21826fe7e6f5307ca8e3cf97
2020-10-15 18:30:23 +02:00

9 lines
228 B
Bash
Executable File

#!/bin/sh
if [ $# -ne 0 ]; then
/usr/sbin/modprobe -ab "$@"
else
echo "No sensors with loadable kernel modules configured."
echo "Please, run 'sensors-detect' as root in order to search for available sensors."
exit 1
fi