aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk12
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-06-19 18:34:43 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-06-19 18:34:43 +0000
commit99abb7424d1067cf38f1d3b780bcc9a83c515796 (patch)
tree7c1c711276eed0ee4597c66c9e52cacb14fc66cf /net/asterisk12
parent0ec59745d5ed5c14ae08d7fa6e427189a60e8cae (diff)
downloadports-99abb7424d1067cf38f1d3b780bcc9a83c515796.tar.gz
ports-99abb7424d1067cf38f1d3b780bcc9a83c515796.zip
Notes
Diffstat (limited to 'net/asterisk12')
-rw-r--r--net/asterisk12/Makefile1
-rw-r--r--net/asterisk12/files/asterisk.sh.in3
2 files changed, 3 insertions, 1 deletions
diff --git a/net/asterisk12/Makefile b/net/asterisk12/Makefile
index 8071bc554bc6..9a8f636d9677 100644
--- a/net/asterisk12/Makefile
+++ b/net/asterisk12/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/asterisk12/files/asterisk.sh.in b/net/asterisk12/files/asterisk.sh.in
index 42738b451fa2..3774209eefe1 100644
--- a/net/asterisk12/files/asterisk.sh.in
+++ b/net/asterisk12/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"