]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- load kernel modules specified in /etc/modules-load.d/ configs (systemd compat)
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 4 Mar 2012 20:12:02 +0000 (20:12 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 4 Mar 2012 20:12:02 +0000 (20:12 +0000)
svn-id: @12483

rc.d/rc.sysinit

index adb2591c89525fbb83baf75c666c95d42d2b2401..8f2b5bc48b92beb291d2fa82ea63b2813b80f764 100755 (executable)
@@ -570,6 +570,10 @@ if ! is_yes "$VSERVER"; then
        # 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
This page took 0.688736 seconds and 4 git commands to generate.