Use insmod instead of modprobe (bug #939)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
6726488e48
commit
0d048dee56
|
@ -20,7 +20,7 @@ MODULES="usb-uhci zaptel wcfxo wcusb"
|
|||
|
||||
function probe() {
|
||||
gprintf " $1"
|
||||
modprobe $1
|
||||
insmod $1
|
||||
# It has to be in the module list, otherwise something is wrong
|
||||
if lsmod | grep -c ^$1 >/dev/null; then
|
||||
success
|
||||
|
|
Loading…
Reference in New Issue