diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in index 041ba71..70daab7 100644 --- a/alsaconf/alsaconf.in +++ b/alsaconf/alsaconf.in @@ -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 <