X-Git-Url: https://pd.if.org/git/?p=startuptools;a=blobdiff_plain;f=scripts%2Frc.sysinit;fp=scripts%2Frc.sysinit;h=79de383b143b004e3312d94fb5953cda29a52fde;hp=b693ecd41f93d77dc0d1499f27c59379e75e53dc;hb=07d48467c9c6dc0edab652c0994d0973240e7997;hpb=a99b3128aa7428fe93a85e48bc9169a2fe8c9746 diff --git a/scripts/rc.sysinit b/scripts/rc.sysinit index b693ecd..79de383 100644 --- a/scripts/rc.sysinit +++ b/scripts/rc.sysinit @@ -81,8 +81,8 @@ status_check # this covers the case where there isn't one, but we still want # to load more hardware if ! is_true "$NOPROBEHW" ; then - status_begin "looking for kernel modules to load" - lspci -k|grep 'Kernel modules:' | awk '{print $3}'| sort -u | xargs -n1 modprobe + status_begin "loading kernel modules" + modprobe $(lspci -k|grep 'Kernel modules:' | awk '{print $3}'| sort -u) status_check fi