about summary refs log tree commit diff
path: root/core-services/01-static-devnodes.sh
blob: 1f24ccfb6e8f5e7b7dd3db67e53baade676baee7 (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 -f devname 2>/dev/null|cut -d' ' -f1); do
	modprobe -bq $f 2>/dev/null
done