]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Run asterisk as a realtime-process.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 Jul 2008 18:58:24 +0000 (20:58 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 Jul 2008 18:58:24 +0000 (20:58 +0200)
lfs/asterisk
src/initscripts/init.d/asterisk

index 91ebf98bbc2cb74d3fc396217b1fe0810d7c2928..ce41c56e2a5225f871ab4e47ceae51e1d9c6f4ce 100644 (file)
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = asterisk
-PAK_VER    = 2
+PAK_VER    = 3
 
 CHAN_CAPI  = chan_capi-1.0.2
 
index 5e04bfb17f1b9f6422eecbb8c642d6b22d61c3ef..b3a734b66167a94fbc4d82eb719add194cec47e3 100644 (file)
@@ -18,9 +18,7 @@
 case "${1}" in
        start)
                boot_mesg "Starting Asterisk PBX..."
-               /sbin/modprobe zaptel
-               /sbin/modprobe ztdummy
-               loadproc /usr/sbin/asterisk
+               loadproc /usr/sbin/asterisk -p
                ;;
 
        stop)
@@ -44,7 +42,7 @@ case "${1}" in
        status)
                statusproc /usr/sbin/asterisk > /tmp/ast 2>&1
                STAT=$(cat /tmp/ast)
-               /bin/rm -f /tmp/ast
+               rm -f /tmp/ast
                echo $STAT
                EX_Z=$(echo $STAT | grep "not" | wc -l)
                exit $EX_Z