From 5d2056b8b38b4b11bc048c51fb39d5b7d6cd8dcc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 28 Apr 2004 14:17:00 +0000 Subject: resync with initscripts (fix sound on many sound cards) (imho, this should not be in move cvs but should be copied at build time from initscripts one) --- move/tree/sound.initscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'move/tree/sound.initscript') diff --git a/move/tree/sound.initscript b/move/tree/sound.initscript index 756f22398..8fbd5d317 100755 --- a/move/tree/sound.initscript +++ b/move/tree/sound.initscript @@ -21,8 +21,8 @@ function start_mixer () { if [ -d /proc/asound ] && [ -x /usr/sbin/alsactl ];then MIXER_SETTINGS=/root/tmp/asound.state_tmp alsactl -f $MIXER_SETTINGS store - # set sensible defaults: - perl -pi /usr/bin/alsa_default.pl $MIXER_SETTINGS + # set some sane default volume and unmute needed channels: + /etc/rc.d/rc.alsa_default $MIXER_SETTINGS action "Setting mixer settings" alsactl -f $MIXER_SETTINGS restore rm -f $MIXER_SETTINGS return 0 -- cgit v1.2.1