mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
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:
@@ -20,7 +20,7 @@ MODULES="usb-uhci zaptel wcfxo wcusb"
|
|||||||
|
|
||||||
function probe() {
|
function probe() {
|
||||||
gprintf " $1"
|
gprintf " $1"
|
||||||
modprobe $1
|
insmod $1
|
||||||
# It has to be in the module list, otherwise something is wrong
|
# It has to be in the module list, otherwise something is wrong
|
||||||
if lsmod | grep -c ^$1 >/dev/null; then
|
if lsmod | grep -c ^$1 >/dev/null; then
|
||||||
success
|
success
|
||||||
|
Reference in New Issue
Block a user