mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 04:45:42 +01:00
- use the bindir and sbindir set by configure script.
This commit is contained in:
parent
41d38ac92a
commit
a98d93674b
1 changed files with 7 additions and 3 deletions
|
@ -17,6 +17,10 @@
|
|||
# (at your option) any later version.
|
||||
#
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
bindir=@bindir@
|
||||
sbindir=@sbindir@
|
||||
version=@VERSION@
|
||||
|
||||
# Check for GNU/Linux distributions
|
||||
|
@ -618,8 +622,8 @@ BEGIN { in_sound=0; }
|
|||
echo Loading driver...
|
||||
$rcalsasound start
|
||||
echo Setting default volumes...
|
||||
if [ -x /usr/bin/set_default_volume ]; then
|
||||
/usr/bin/set_default_volume -f
|
||||
if [ -x $bindir/set_default_volume ]; then
|
||||
$bindir/set_default_volume -f
|
||||
else
|
||||
set_mixers
|
||||
fi
|
||||
|
@ -640,7 +644,7 @@ If you have a big amplifier, lower your volumes or say no.
|
|||
fi
|
||||
if [ ! -r /etc/asound.state ]; then
|
||||
echo "Saving the mixer setup used for this in /etc/asound.state."
|
||||
/usr/sbin/alsactl store
|
||||
$sbindir/alsactl store
|
||||
fi
|
||||
cat <<END
|
||||
===============================================================================
|
||||
|
|
Loading…
Reference in a new issue