Use insmod instead of modprobe (bug #939)
authorMark Spencer <markster@digium.com>
Mon, 26 Apr 2004 13:53:31 +0000 (13:53 +0000)
committerMark Spencer <markster@digium.com>
Mon, 26 Apr 2004 13:53:31 +0000 (13:53 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2780 65c4cc65-6c06-0410-ace0-fbb531ad65f3

contrib/init.d/rc.mandrake.zaptel

index 731d9c3..26ce46d 100755 (executable)
@@ -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