define-alpine-the-sequel/runit/scripts/01-static-devnodes.sh

7 lines
230 B
Bash
Raw Normal View History

2023-01-16 15:14:20 +00:00
# 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