Skip to contentSkip to conversation

: Two modprobe calls lack path

ALSA - utils 0001163 [email protected] 1 participant 1 message Jun 6, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1163>
======================================================================
Reported By: jdthood
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   1163
Category:                   alsaconf
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-06-2005 19:50 CEST
Last Modified:              06-06-2005 19:50 CEST

======================================================================
Summary: Two modprobe calls lack path
Description:
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.in 2005-06-06 19:50:06.000000000 +0200 renamed from alsaconf.in_ORIG 2005-06-06 19:49:00.000000000 +0200 +2 -2
@@ -753,7 +753,7 @@
     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 @@
     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
 

======================================================================

Issue History
Date Modified Username Field Change
======================================================================
06-06-05 19:50 jdthood New Issue
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20