aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk16/files/asterisk.sh.in
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-05-31 23:01:15 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-05-31 23:01:15 +0000
commita54fe1ca9c33931d7c4381a84ee11454f9831c08 (patch)
tree16cc7f849128603b27ba13f7bdb8ae11e1eadd30 /net/asterisk16/files/asterisk.sh.in
parentc7651500a041b224f401ba85fc192aac6ad83c1c (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_EOL'.5-eol
Notes
Notes: svn path=/head/; revision=214069 svn path=/tags/RELEASE_5_EOL/; revision=214070; tag=5-eol
Diffstat (limited to 'net/asterisk16/files/asterisk.sh.in')
-rw-r--r--net/asterisk16/files/asterisk.sh.in33
1 files changed, 0 insertions, 33 deletions
diff --git a/net/asterisk16/files/asterisk.sh.in b/net/asterisk16/files/asterisk.sh.in
deleted file mode 100644
index e05d58ed6ee8..000000000000
--- a/net/asterisk16/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"
-#
-
-. %%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"