diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2018-06-12 16:56:10 +0200 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2018-06-14 16:11:54 +0200 |
commit | ead5bff2561eae45007c8d9e949379c3454c0183 (patch) | |
tree | 9a06467233a11dc341fb16744c43a0380ddaa249 /usr/libexec/loadmodules | |
parent | 17804e1638381978174cfd31ff59e466bcc13cf5 (diff) | |
download | initscripts-ead5bff2561eae45007c8d9e949379c3454c0183.tar initscripts-ead5bff2561eae45007c8d9e949379c3454c0183.tar.gz initscripts-ead5bff2561eae45007c8d9e949379c3454c0183.tar.bz2 initscripts-ead5bff2561eae45007c8d9e949379c3454c0183.tar.xz initscripts-ead5bff2561eae45007c8d9e949379c3454c0183.zip |
specfile: services from /usr/lib/systemd moved to /usr/libexec
Diffstat (limited to 'usr/libexec/loadmodules')
-rwxr-xr-x | usr/libexec/loadmodules | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr/libexec/loadmodules b/usr/libexec/loadmodules new file mode 100755 index 00000000..4fd167c4 --- /dev/null +++ b/usr/libexec/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 |