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 / +9 lines)
Lines 84-92 Link Here
84
	
84
	
85
	if [ -z "${CDBOOT}" ]
85
	if [ -z "${CDBOOT}" ]
86
	then
86
	then
87
		ebegin "Calculating module dependencies"
87
		# do we need to recalculate module dependencies?
88
		/sbin/modules-update &>/dev/null
88
		if [ ! -x /usr/bin/find ] || [ -n "`/usr/bin/find /etc/modules.d -type f -newer /etc/modules.conf`" ]
89
		eend $? "Failed to calculate dependencies"
89
		then 
90
			ebegin "Calculating module dependencies" 
91
			/sbin/modules-update &>/dev/null 
92
			eend $? "Failed to calculate dependencies" 
93
		else 
94
			einfo "Module dependencies are up-to-date - do not recalculating." 
95
		fi 
90
	fi
96
	fi
91
97
92
	if [ -f /etc/modules.autoload -a ! -L /etc/modules.autoload ]
98
	if [ -f /etc/modules.autoload -a ! -L /etc/modules.autoload ]

Return to bug 55329