13 lines
401 B
Bash
Executable file
13 lines
401 B
Bash
Executable file
#!/bin/sh
|
|
# /etc/rc.d/rc.modules.local - Load locally configured kernel modules.
|
|
# 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
|