From: Hugo Villeneuve Date: Wed, 6 Aug 2014 04:03:18 +0000 (-0400) Subject: Move ALSA bootscript to end of stage 3 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=67c4e481feac31cef150d116d01d8e774f3cb9b1;p=hvlinux.git Move ALSA bootscript to end of stage 3 At beginning of stage3, the sound modules are not yet loaded. --- diff --git a/stage3/bootscripts/alsa b/stage3/bootscripts/alsa index c0de296..94830dd 100755 --- a/stage3/bootscripts/alsa +++ b/stage3/bootscripts/alsa @@ -7,7 +7,7 @@ source /etc/rc.d/init.d/functions log_script_name "$0 $*" -alsactl=/usr/sbin/alsactl +alsactl="/usr/sbin/alsactl -d" # See how we were called. case "$1" in @@ -18,12 +18,11 @@ case "$1" in stop) cmd_run_log_box "Saving sound settings" ${alsactl} store ;; - + *) echo "Usage: $0 {start|stop}" exit ${EXIT_CODE_FAILURE} ;; - esac exit 0 diff --git a/stage3/pkg/alsa-utils b/stage3/pkg/alsa-utils index 8d3bf8a..78dc669 100644 --- a/stage3/pkg/alsa-utils +++ b/stage3/pkg/alsa-utils @@ -15,5 +15,5 @@ hvbuild_post() install -v -m740 ${SCRDIR}/bootscripts/alsa /etc/rc.d/init.d # script-name start stop - bootscript_add_rcsysinit alsa 95 85 + bootscript_add_rc3 alsa 93 15 }