summary refs log tree commit diff
path: root/core-services/01-static-devnodes.sh
blob: b0591777dbd8c214c17b6c54a1959976cec9d67a (plain) (blame)
1
2
3
4
5
6
# Some kernel modules must be loaded before starting udev(7).
# Load them by looking at the output of `kmod static-nodes`.

for f in $(kmod static-nodes 2>/dev/null|awk '/Module/ {print $2}'); do
	modprobe -q $f 2>/dev/null
done