Merge branch 'master' of git://git.ipfire.org/ipfire-2.x

This commit is contained in:
Arne Fitzenreiter
2008-07-05 21:22:29 +02:00
2 changed files with 3 additions and 5 deletions

View 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

View 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