summaryrefslogtreecommitdiffstats
path: root/move/tree/sound.initscript
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-04-28 14:17:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-04-28 14:17:00 +0000
commit5d2056b8b38b4b11bc048c51fb39d5b7d6cd8dcc (patch)
tree6f5e7e873e153ecf9be4521c7f428da6e84750ca /move/tree/sound.initscript
parent464162d12076095b4e03762b6f285689b4798f2f (diff)
downloaddrakx-backup-do-not-use-5d2056b8b38b4b11bc048c51fb39d5b7d6cd8dcc.tar
drakx-backup-do-not-use-5d2056b8b38b4b11bc048c51fb39d5b7d6cd8dcc.tar.gz
drakx-backup-do-not-use-5d2056b8b38b4b11bc048c51fb39d5b7d6cd8dcc.tar.bz2
drakx-backup-do-not-use-5d2056b8b38b4b11bc048c51fb39d5b7d6cd8dcc.tar.xz
drakx-backup-do-not-use-5d2056b8b38b4b11bc048c51fb39d5b7d6cd8dcc.zip
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)
Diffstat (limited to 'move/tree/sound.initscript')
-rwxr-xr-xmove/tree/sound.initscript4
1 files changed, 2 insertions, 2 deletions
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