summary refs log tree commit diff
path: root/contrib/rvnit/sv/02Sstatic-devnodes
blob: ef747a4ba59dade963935a3258fbc022eed3c37d (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

# 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 -bq $f 2>/dev/null
done