[Pkg-voip-commits] [dahdi-tools] 174/285: dahdi.init: Don't exit on lack of /etc/dahdi/system.conf
    tzafrir at debian.org 
    tzafrir at debian.org
       
    Thu Jul  7 19:18:52 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository dahdi-tools.
commit 91768d360c48e89e173c20625278fe070b3b8599
Author: Russ Meyerriecks <rmeyerriecks at digium.com>
Date:   Thu Jan 23 14:50:04 2014 -0600
    dahdi.init: Don't exit on lack of /etc/dahdi/system.conf
    
    auto_spans and dahdi_cfg -c are valid config methods which may not have a
    /etc/dahdi/system.conf. We already check for the existance of the dahdi modules
    before the case start, so I think it's safe to remove this section.
    
    Signed-off-by: Russ Meyerriecks <rmeyerriecks at digium.com>
    Acked-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
---
 dahdi.init | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/dahdi.init b/dahdi.init
index 9949f26..064fa4f 100755
--- a/dahdi.init
+++ b/dahdi.init
@@ -237,11 +237,6 @@ if [ ! -x "$DAHDI_CFG" ]; then
        exit 0
 fi
 
-if [ ! -f /etc/dahdi/system.conf ]; then
-	echo "/etc/dahdi/system.conf not found. Nothing to do."
-       exit 0
-fi
-
 RETVAL=0
 
 # See how we were called.
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git
    
    
More information about the Pkg-voip-commits
mailing list