define-alpine-the-sequel/runit/scripts/01-static-devnodes.sh
2023-01-16 12:14:20 -03:00

6 lines
230 B
Bash

# 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