]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Two modporbe calls lack path
authorJaroslav Kysela <perex@perex.cz>
Tue, 7 Jun 2005 07:03:37 +0000 (07:03 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 7 Jun 2005 07:03:37 +0000 (07:03 +0000)
All but two calls to modprobe in alsaconf call it with the full path.  For
consistency the remaining two calls should also use the full path.

alsaconf/alsaconf.in

index d11b96437365f2ce0e9751594a3119737361425f..afe340981c2d74c0c8732198e64b7bb62ae9f7d5 100644 (file)
@@ -753,7 +753,7 @@ ac_try_load () {
     if $lsmod | grep -q -E '^(snd-|snd_)'$1' '; then
        : ;
     else
-       modprobe -r snd-$1 >/dev/null 2>&1
+       /sbin/modprobe -r snd-$1 >/dev/null 2>&1
        return 1
     fi
 
@@ -792,7 +792,7 @@ ac_try_capture () {
     if $lsmod | grep -q -E '^(snd-|snd_)'$1' '; then
        : ;
     else
-       modprobe -r snd-$1 >/dev/null 2>&1
+       /sbin/modprobe -r snd-$1 >/dev/null 2>&1
        return 1
     fi