lm_sensors/SOURCES/lm_sensors-modprobe-r-wrapper
2021-09-09 21:34:16 +00:00

9 lines
229 B
Bash
Executable File

#!/bin/sh
if [ $# -ne 0 ]; then
/usr/sbin/modprobe -abr "$@"
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