Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 66504 | Differences between
and this patch

Collapse All | Expand All

(-)generate-modprobe.conf.orig (+3 lines)
Lines 51-56 Link Here
51
elif modprobe -V 2>/dev/null | grep -q 'modprobe version'; then
51
elif modprobe -V 2>/dev/null | grep -q 'modprobe version'; then
52
    # Running modprobe gives old version.
52
    # Running modprobe gives old version.
53
    modprobe -c > $MODPROBECONF
53
    modprobe -c > $MODPROBECONF
54
elif [ -f /etc/modules.conf ] ; then
55
	# no old version found, just using configuration file
56
	cat /etc/modules.conf > $MODPROBECONF
54
else
57
else
55
    echo Cannot find old version of modprobe.  Giving up. 2>&1
58
    echo Cannot find old version of modprobe.  Giving up. 2>&1
56
    exit 1
59
    exit 1

Return to bug 66504