SVN: rc-scripts/trunk/rc.d/rc.sysinit
baggins
baggins at pld-linux.org
Sun Mar 4 21:12:02 CET 2012
Author: baggins
Date: Sun Mar 4 21:12:02 2012
New Revision: 12483
Modified:
rc-scripts/trunk/rc.d/rc.sysinit
Log:
- load kernel modules specified in /etc/modules-load.d/ configs (systemd compat)
Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit Sun Mar 4 21:12:02 2012
@@ -570,6 +570,10 @@
# Load modules
if ! use_upstart; then
load_kernel_modules modules
+ for f in /etc/modules-load.d/*.conf ; do
+ [ -r $f ] || continue
+ load_kernel_modules ${f##/etc/}
+ done
fi
if [ -x /sbin/multipath ] && ! is_no "$DM_MULTIPATH"; then
More information about the pld-cvs-commit
mailing list