From 59b2f505ea603ef65823615711b5adfa87795f41 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 15 Oct 2010 16:25:31 -0400 Subject: Add split-out bits of rc.sysinit and associated service files. Remove sysinit.service. Based on work by Harald Hoyer () sysinit-hack/unhack will be removed once the net hotplug stuff is fixed to not require this. --- systemd/fedora-loadmodules | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 systemd/fedora-loadmodules (limited to 'systemd/fedora-loadmodules') 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 -- cgit v1.2.1