Skip to content
Snippets Groups Projects
Commit 0d048dee authored by Mark Spencer's avatar Mark Spencer
Browse files

Use insmod instead of modprobe (bug #939)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 6726488e
Branches
Tags
No related merge requests found
...@@ -20,7 +20,7 @@ MODULES="usb-uhci zaptel wcfxo wcusb" ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment