--- alsasound.original 2004-04-03 14:46:09.000000000 -0800 +++ /etc/init.d/alsasound 2004-04-03 23:18:16.000000000 -0800 @@ -96,12 +96,14 @@ done fi - einfo "Running card-dependent scripts" for DRIVER in ${DRIVERS} do TMP=${DRIVER##snd-} TMP=${TMP##snd_} - [ -x "${alsascrdir}/${TMP}" ] && ${alsascrdir}/${TMP} + if [ -x "${alsascrdir}/${TMP}" ]; then + einfo "Running card-dependent script: $TMP" + ${alsascrdir}/${TMP} + fi done [ ! -d /proc/asound ] && eerror "ERROR: Failed to load necessary drivers" @@ -121,6 +123,17 @@ eerror -e "ERROR: Cannot find alsactl, did you forget to install media-sound/alsa-utils?" eend 1 fi + + for DRIVER in ${DRIVERS} + do + TMP=${DRIVER##snd-} + TMP=${TMP##snd_} + if [ -x "${alsascrdir}/${TMP}-post" ]; then + einfo "Running card-dependent post-script: $TMP-post" + ${alsascrdir}/${TMP}-post + fi + done + eend 0 }