diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2010-07-08 07:37:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2010-07-08 07:37:32 +0000 |
commit | b80064cbb9898918e6563795d0233e58fde5e7a6 (patch) | |
tree | c805049ad5c2b944a6ce5e4d414b7a5c0dff612e /net/asterisk14/files/asterisk.sh.in | |
parent | Add an option to build the milter with SPF support. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_8_1_0'.release/8.1.0
Diffstat (limited to 'net/asterisk14/files/asterisk.sh.in')
-rw-r--r-- | net/asterisk14/files/asterisk.sh.in | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/net/asterisk14/files/asterisk.sh.in b/net/asterisk14/files/asterisk.sh.in deleted file mode 100644 index ca5941068460..000000000000 --- a/net/asterisk14/files/asterisk.sh.in +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh - -# PROVIDE: asterisk -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf to enable asterisk: -# -# asterisk_enable="YES" -# - -. /etc/rc.subr - -stop_precmd=asterisk_shutdown -sig_stop=KILL -asterisk_shutdown () { - %%PREFIX%%/sbin/asterisk -qrx 'stop now' - sleep 1 - return 0 -} - -name=asterisk -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/asterisk - -load_rc_config $name - -pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"} - -asterisk_enable=${asterisk_enable:-"NO"} - -run_rc_command "$1" |