lm_sensors/lm_sensors-modprobe-wrapper
Ondřej Lysoněk 8d7bdb6348 Covscan fixes
2018-05-04 13:28:15 +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