summaryrefslogtreecommitdiffstats
path: root/move/tree/sound.initscript
diff options
context:
space:
mode:
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