lm_sensors/lm_sensors-modprobe-r
Jaromir Capik 3d7165a751 - Avoiding modprobe errors when no sensors configured (#834215)
- Introducing fancontrol service file (#988922)
- Replacing hardcoded systemd unit path with _unitdir macro
2013-07-30 18:27:27 +02:00

9 lines
223 B
Bash
Executable File

#!/bin/sh
if [ $# -ne 0 ]; then
/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