From 35577a26195fb193f69d234feb881a40fcfd9230 Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 19 Jun 2006 18:34:43 +0000 Subject: Make asterisk_pidfile actually working. Reported by: Denis Shaposhnikov --- net/asterisk14/Makefile | 1 + net/asterisk14/files/asterisk.sh.in | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'net/asterisk14') diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile index 8071bc554bc6..9a8f636d9677 100644 --- a/net/asterisk14/Makefile +++ b/net/asterisk14/Makefile @@ -7,6 +7,7 @@ PORTNAME= asterisk PORTVERSION= 1.2.9.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ http://ftp.digium.com/pub/asterisk/old-releases/ diff --git a/net/asterisk14/files/asterisk.sh.in b/net/asterisk14/files/asterisk.sh.in index 42738b451fa2..3774209eefe1 100644 --- a/net/asterisk14/files/asterisk.sh.in +++ b/net/asterisk14/files/asterisk.sh.in @@ -17,9 +17,10 @@ rcvar=`set_rcvar` command=%%PREFIX%%/sbin/asterisk +load_rc_config $name + pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"} asterisk_enable=${asterisk_enable:-"NO"} -load_rc_config $name run_rc_command "$1" -- cgit