aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/rhel-loadmodules
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-07-12 13:03:45 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-07-12 13:03:45 +0200
commit7cda43cae585d3a40e0a2d65992388623093e35f (patch)
treee1dcbaabd5c00b05784f8e34e5981415dafcbe16 /systemd/rhel-loadmodules
parent4aa178674056dfc0930ad69dd77ec6490d9c5770 (diff)
downloadinitscripts-7cda43cae585d3a40e0a2d65992388623093e35f.tar
initscripts-7cda43cae585d3a40e0a2d65992388623093e35f.tar.gz
initscripts-7cda43cae585d3a40e0a2d65992388623093e35f.tar.bz2
initscripts-7cda43cae585d3a40e0a2d65992388623093e35f.tar.xz
initscripts-7cda43cae585d3a40e0a2d65992388623093e35f.zip
rename fedora-* to rhel-*
Diffstat (limited to 'systemd/rhel-loadmodules')
-rwxr-xr-xsystemd/rhel-loadmodules11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/rhel-loadmodules b/systemd/rhel-loadmodules
new file mode 100755
index 00000000..4fd167c4
--- /dev/null
+++ b/systemd/rhel-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