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

Collapse All | Expand All

(-)/usr/local/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound (-10 / +12 lines)
Lines 212-218 Link Here
212
}
212
}
213
213
214
start() {
214
start() {
215
	if [[ -f /proc/modules ]] ; then
215
	if [[ ${LOAD_MODULES} == "yes" ]] && [[ -f /proc/modules ]] ; then
216
		ebegin "Loading ALSA modules"
216
		ebegin "Loading ALSA modules"
217
		if load_modules ; then
217
		if load_modules ; then
218
			eend 0
218
			eend 0
Lines 237-252 Link Here
237
		save
237
		save
238
	fi
238
	fi
239
239
240
	ebegin "Unloading ALSA"
240
	if [[ ${LOAD_MODULES} == "yes" ]] ; then
241
	terminate
241
		ebegin "Unloading ALSA"
242
	eend 0
242
		terminate
243
		eend 0
243
244
244
	if [[ -f /proc/modules ]]; then
245
		if [[ -f /proc/modules ]]; then
245
		ebegin "Unloading ALSA modules"
246
			ebegin "Unloading ALSA modules"
246
		if unload_modules; then
247
			if unload_modules; then
247
			eend 0
248
				eend 0
248
		else
249
			else
249
			eend 1
250
				eend 1
251
			fi
250
		fi
252
		fi
251
	fi
253
	fi
252
}
254
}

Return to bug 147799