Merged revisions 136190 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 6 Aug 2008 20:15:34 +0000 (20:15 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 6 Aug 2008 20:15:34 +0000 (20:15 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r136190 | tilghman | 2008-08-06 15:14:54 -0500 (Wed, 06 Aug 2008) | 4 lines

-C option takes a filename, not a directory path.
(closes issue #13007)
 Reported by: klaus3000

........

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

contrib/init.d/rc.redhat.asterisk

index aeaa8f1..d2a630e 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=$?