aboutsummaryrefslogtreecommitdiffstats
path: root/usr/lib/systemd/loadmodules
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/systemd/loadmodules')
-rwxr-xr-xusr/lib/systemd/loadmodules11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/lib/systemd/loadmodules b/usr/lib/systemd/loadmodules
new file mode 100755
index 00000000..4fd167c4
--- /dev/null
+++ b/usr/lib/systemd/loadmodules
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# Load other user-defined modules
+for file in /etc/sysconfig/modules/*.modules ; do
+ [ -x $file ] && $file
+done
+
+# Load modules (for backward compatibility with VARs)
+if [ -f /etc/rc.modules ]; then
+ /etc/rc.modules
+fi