diff options
author | Bill Nottingham <notting@redhat.com> | 2010-10-15 16:25:31 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-10-15 16:25:31 -0400 |
commit | 59b2f505ea603ef65823615711b5adfa87795f41 (patch) | |
tree | d5b42a97c7c6e964d920c51f39d890313b997b09 /systemd/fedora-loadmodules | |
parent | 675389f11ffaab590e9dedabc821e33745e3eb5c (diff) | |
download | initscripts-59b2f505ea603ef65823615711b5adfa87795f41.tar initscripts-59b2f505ea603ef65823615711b5adfa87795f41.tar.gz initscripts-59b2f505ea603ef65823615711b5adfa87795f41.tar.bz2 initscripts-59b2f505ea603ef65823615711b5adfa87795f41.tar.xz initscripts-59b2f505ea603ef65823615711b5adfa87795f41.zip |
Add split-out bits of rc.sysinit and associated service files. Remove sysinit.service. Based on work by Harald Hoyer (<harald@redhat.com>)
sysinit-hack/unhack will be removed once the net hotplug stuff is fixed to not require this.
Diffstat (limited to 'systemd/fedora-loadmodules')
-rwxr-xr-x | systemd/fedora-loadmodules | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/fedora-loadmodules b/systemd/fedora-loadmodules new file mode 100755 index 00000000..4fd167c4 --- /dev/null +++ b/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 |