summary refs log tree commit diff
path: root/core-services
diff options
context:
space:
mode:
Diffstat (limited to 'core-services')
-rw-r--r--core-services/01-static-devnodes.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/core-services/01-static-devnodes.sh b/core-services/01-static-devnodes.sh
new file mode 100644
index 0000000..b059177
--- /dev/null
+++ b/core-services/01-static-devnodes.sh
@@ -0,0 +1,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