- use the bindir and sbindir set by configure script.

This commit is contained in:
Takashi Iwai 2004-02-10 15:58:51 +00:00
parent 41d38ac92a
commit a98d93674b

View file

@ -17,6 +17,10 @@
# (at your option) any later version. # (at your option) any later version.
# #
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
sbindir=@sbindir@
version=@VERSION@ version=@VERSION@
# Check for GNU/Linux distributions # Check for GNU/Linux distributions
@ -618,8 +622,8 @@ BEGIN { in_sound=0; }
echo Loading driver... echo Loading driver...
$rcalsasound start $rcalsasound start
echo Setting default volumes... echo Setting default volumes...
if [ -x /usr/bin/set_default_volume ]; then if [ -x $bindir/set_default_volume ]; then
/usr/bin/set_default_volume -f $bindir/set_default_volume -f
else else
set_mixers set_mixers
fi fi
@ -640,7 +644,7 @@ If you have a big amplifier, lower your volumes or say no.
fi fi
if [ ! -r /etc/asound.state ]; then if [ ! -r /etc/asound.state ]; then
echo "Saving the mixer setup used for this in /etc/asound.state." echo "Saving the mixer setup used for this in /etc/asound.state."
/usr/sbin/alsactl store $sbindir/alsactl store
fi fi
cat <<END cat <<END
=============================================================================== ===============================================================================