Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 207371
Collapse All | Expand All

(-)alsasound.initd (-2 / +6 lines)
Lines 217-226 Link Here
217
	ebegin "Killing processes using ALSA"
217
	ebegin "Killing processes using ALSA"
218
	terminate
218
	terminate
219
	eend 0
219
	eend 0
220
	
220
221
	if [ -f /proc/modules ] && [ "${UNLOAD_ON_STOP}" = "yes" ]; then
221
	if [ -f /proc/modules ] && [ "${UNLOAD_ON_STOP}" = "yes" ]; then
222
		local ver="24"
222
		local ver="24"
223
		rmmod --version | grep -q module-init-tools && ver="26"
223
		if rmmod --help 2>&1 | grep -q "BusyBox"; then
224
			ver="26"
225
		else
226
			rmmod --version | grep -q module-init-tools && ver="26"
227
		fi
224
228
225
		ebegin "Unloading ALSA modules"
229
		ebegin "Unloading ALSA modules"
226
		eindent
230
		eindent

Return to bug 207371