dahdi.init: Remove reference to dahdi_dummy.
authorShaun Ruffell <sruffell@digium.com>
Tue, 7 Sep 2010 18:27:57 +0000 (18:27 +0000)
committerShaun Ruffell <sruffell@digium.com>
Tue, 7 Sep 2010 18:27:57 +0000 (18:27 +0000)
Module 'dahdi_dummy.ko' is no longer needed for DAHDI to provide timing,
therefore we can remove the explicit load of dahdi_dummy, which by
default is aliased to dahdi.ko anyway.  If you've edited the DAHDI
Kbuild file in order to build dahdi_dummy explicitly, then you should
add dahdi_dummy to /etc/dahdi/modules in order to load it, but this is
not needed for normal operation.

(issue #17959)
Reported by: glen201

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9309 17933a7a-c749-41c5-a318-cba88f637d49

dahdi.init

index 874fa46..80e2621 100755 (executable)
@@ -258,11 +258,6 @@ case "$1" in
 
        xpp_startup
 
-       if [ ! -e /proc/dahdi/1 ]; then
-               echo "No hardware timing source found in /proc/dahdi, loading dahdi_dummy"
-               modprobe dahdi_dummy 2> /dev/null
-       fi
-
        if [ $system = debian ]; then
            echo -n "Running dahdi_cfg: "
            $DAHDI_CFG_CMD 2> /dev/null && echo -n "done"