summarylogtreecommitdiffstats
path: root/modules-load.boot
blob: c2d59f309de30422459fca73b4fa6b7124946981 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh sh
for d in /etc/modules-load.d /run/modules-load.d /usr/lib/modules-load.d; do
	[ -d "$d" ] || continue
	find "$d" -name '*.conf' \
	| while read -r file; do
		grep -v "^#" "$file" | xargs modprobe -a
	done
done