about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--core-services/01-static-devnodes.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/core-services/01-static-devnodes.sh b/core-services/01-static-devnodes.sh
index 2bf15c8..1f24ccf 100644
--- a/core-services/01-static-devnodes.sh
+++ b/core-services/01-static-devnodes.sh
@@ -1,6 +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
+for f in $(kmod static-nodes -f devname 2>/dev/null|cut -d' ' -f1); do
 	modprobe -bq $f 2>/dev/null
 done