At beginning of stage3, the sound modules are not yet loaded.
-alsactl=/usr/sbin/alsactl
+alsactl="/usr/sbin/alsactl -d"
# See how we were called.
case "$1" in
# See how we were called.
case "$1" in
stop)
cmd_run_log_box "Saving sound settings" ${alsactl} store
;;
stop)
cmd_run_log_box "Saving sound settings" ${alsactl} store
;;
*)
echo "Usage: $0 {start|stop}"
exit ${EXIT_CODE_FAILURE}
;;
*)
echo "Usage: $0 {start|stop}"
exit ${EXIT_CODE_FAILURE}
;;
install -v -m740 ${SCRDIR}/bootscripts/alsa /etc/rc.d/init.d
# script-name start stop
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