]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
-C option takes a filename, not a directory path.
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 6 Aug 2008 20:14:54 +0000 (20:14 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 6 Aug 2008 20:14:54 +0000 (20:14 +0000)
(closes issue #13007)
 Reported by: klaus3000

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@136190 65c4cc65-6c06-0410-ace0-fbb531ad65f3

contrib/init.d/rc.redhat.asterisk

index aeaa8f15e7f45f2a9e4e0d1b70b560cfd58175e9..d2a630ea40ef7eade09a277d256246063388f2ee 100755 (executable)
@@ -88,7 +88,7 @@ start() {
                ASTARGS="$ASTARGS -G $AST_GROUP"
        fi
        if [ $AST_CONFIG ]; then
-               ASTARGS="$ASTARGS -C $AST_CONFIG"
+               ASTARGS="$ASTARGS -C $AST_CONFIG/asterisk.conf"
        fi
        daemon $DAEMON $ASTARGS
        RETVAL=$?