--- modules.d/90kernel-modules/insmodpost.sh | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules.d/90kernel-modules/insmodpost.sh b/modules.d/90kernel-modules/insmodpost.sh index 1b8ccfa..168a907 100755 --- a/modules.d/90kernel-modules/insmodpost.sh +++ b/modules.d/90kernel-modules/insmodpost.sh @@ -2,11 +2,13 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh -for p in $(getargs rd.driver.post rdinsmodpost=); do +. /lib/dracut-lib.sh + +for modlist in $(getargs rd.driver.post rdinsmodpost=); do ( IFS=, - for p in $i; do - modprobe $p + for m in $modlist; do + modprobe $m done ) done -- 1.7.5.3 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html