aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/fedora-loadmodules
blob: 5925bdf78db588b597a2d0d50acdf8fb8d8a5d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Load other user-defined modules
for file in /etc/sysconfig/modules/*.modules ; do
	if [ -x $file ]; then
		$file
	fi
done

# Load modules (for backward compatibility with VARs)
if [ -f /etc/rc.modules ]; then
	/etc/rc.modules
fi