summary refs log tree commit diff
path: root/core-services/02-kmods.sh
diff options
context:
space:
mode:
Diffstat (limited to 'core-services/02-kmods.sh')
-rw-r--r--core-services/02-kmods.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/core-services/02-kmods.sh b/core-services/02-kmods.sh
new file mode 100644
index 0000000..9d904c7
--- /dev/null
+++ b/core-services/02-kmods.sh
@@ -0,0 +1,7 @@
+# vim: set ts=4 sw=4 et:
+
+[ -n "$VIRTUALIZATION" ] && return 0
+
+msg "Loading kernel modules..."
+modules-load -v | tr '\n' ' ' | sed 's:insmod [^ ]*/::g; s:\.ko\(\.gz\)\? ::g'
+echo