From 67c4e481feac31cef150d116d01d8e774f3cb9b1 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 6 Aug 2014 00:03:18 -0400 Subject: [PATCH] Move ALSA bootscript to end of stage 3 At beginning of stage3, the sound modules are not yet loaded. --- stage3/bootscripts/alsa | 5 ++--- stage3/pkg/alsa-utils | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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 } -- 2.20.1