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

Collapse All | Expand All

(-)modules.orig (-3 / +17 lines)
Lines 83-91 Link Here
83
	
83
	
84
	if [ -z "${CDBOOT}" ]
84
	if [ -z "${CDBOOT}" ]
85
	then
85
	then
86
		ebegin "Calculating module dependencies"
86
		newerfiles="$(
87
		/sbin/modules-update &>/dev/null
87
			for f in /etc/modules.d/*; do
88
		eend $? "Failed to calculate dependencies"
88
				if [ "$f" -nt /etc/modules.conf ] ; then
89
					echo "$f"
90
				fi
91
			done
92
		)"
93
94
		if [ -z "$newerfiles" ]; then
95
			
96
			einfo "Module dependencies are up-to-date."
97
		else
98
		
99
			ebegin "Calculating module dependencies"
100
			/sbin/modules-update &>/dev/null
101
			eend $? "Failed to calculate dependencies"
102
		fi
89
	fi
103
	fi
90
104
91
	if [ -f /etc/modules.autoload -a ! -L /etc/modules.autoload ]
105
	if [ -f /etc/modules.autoload -a ! -L /etc/modules.autoload ]

Return to bug 55329