aboutsummaryrefslogtreecommitdiffstats
path: root/usr/lib/systemd/fedora-loadmodules
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/systemd/fedora-loadmodules')
-rwxr-xr-xusr/lib/systemd/fedora-loadmodules11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/lib/systemd/fedora-loadmodules b/usr/lib/systemd/fedora-loadmodules
new file mode 100755
index 00000000..4fd167c4
--- /dev/null
+++ b/usr/lib/systemd/fedora-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