bootstrap/rc.d/rc.modules.local

12 lines
330 B
Bash
Executable file

#!/bin/sh
# Copyright (c) 2005-2022:
# Darren 'Tadgy' Austin <darren (at) afterdark.org.uk>
# Licensed under the terms of the GNU General Public License version 3.
# Load sensor modules.
if [ -e /etc/sysconfig/lm_sensors ]; then
. /etc/sysconfig/lm_sensors
for MOD in $HWMON_MODULES; do
/sbin/modprobe "$MOD"
done
fi