--- modules.d/95udev-rules/install | 1 + modules.d/95udev-rules/load-modules.sh | 6 ++++++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/modules.d/95udev-rules/install b/modules.d/95udev-rules/install index 23693fe..e89acb5 100755 --- a/modules.d/95udev-rules/install +++ b/modules.d/95udev-rules/install @@ -46,6 +46,7 @@ pcmcia-check-broken-cis \ [ -e /lib/udev/$i ] && dracut_install /lib/udev/$i done +[ -f /etc/arch-release ] && inst "$moddir/load-modules.sh" /lib/udev/load-modules.sh if ldd $(find_binary udevd) |grep -q /lib64/; then dracut_install /lib64/libnss_files* diff --git a/modules.d/95udev-rules/load-modules.sh b/modules.d/95udev-rules/load-modules.sh new file mode 100755 index 0000000..b592964 --- /dev/null +++ b/modules.d/95udev-rules/load-modules.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Implement blacklisting for udev-loaded modules + +modprobe -b "$@" + +# vim: set et ts=4: -- 1.7.1 -- 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