diff options
Diffstat (limited to 'modules.d/90kernel-modules/insmodpost.sh')
-rwxr-xr-x | modules.d/90kernel-modules/insmodpost.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules.d/90kernel-modules/insmodpost.sh b/modules.d/90kernel-modules/insmodpost.sh new file mode 100755 index 0000000..a7ab05b --- /dev/null +++ b/modules.d/90kernel-modules/insmodpost.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +. /lib/dracut-lib.sh + +for modlist in $(getargs rd.driver.post -d rdinsmodpost=); do + ( + IFS=, + for m in $modlist; do + modprobe "$m" + done + ) +done |