--- alsasound.initd 2007-12-29 07:06:17.000000000 +0000 +++ alsasound.initd 2008-01-25 12:02:12.000000000 +0000 @@ -217,10 +217,14 @@ ebegin "Killing processes using ALSA" terminate eend 0 - + if [ -f /proc/modules ] && [ "${UNLOAD_ON_STOP}" = "yes" ]; then local ver="24" - rmmod --version | grep -q module-init-tools && ver="26" + if rmmod --help 2>&1 | grep -q "BusyBox"; then + ver="26" + else + rmmod --version | grep -q module-init-tools && ver="26" + fi ebegin "Unloading ALSA modules" eindent