diff options
author | vs <vs@FreeBSD.org> | 2005-04-14 21:23:49 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-04-14 21:23:49 +0800 |
commit | 3e6000f57879f3baa7770b5b5f05a61d5df7ab30 (patch) | |
tree | 332dc6fed9f3580a03636b60978f98987b661ee7 /net/asterisk16/files | |
parent | cfbe8b3e75a0c0c0b7255af42d870e0c3df8fd1b (diff) | |
download | freebsd-ports-gnome-3e6000f57879f3baa7770b5b5f05a61d5df7ab30.tar.gz freebsd-ports-gnome-3e6000f57879f3baa7770b5b5f05a61d5df7ab30.tar.zst freebsd-ports-gnome-3e6000f57879f3baa7770b5b5f05a61d5df7ab30.zip |
Handle rc.subr correctly
Based on PR: ports/79246
Submitted by: Ari Maniatis
Approved by: maintainer
Diffstat (limited to 'net/asterisk16/files')
-rw-r--r-- | net/asterisk16/files/asterisk.sh.in (renamed from net/asterisk16/files/asterisk.sh) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/asterisk16/files/asterisk.sh b/net/asterisk16/files/asterisk.sh.in index deee10c0cbe4..10f0c4275c84 100644 --- a/net/asterisk16/files/asterisk.sh +++ b/net/asterisk16/files/asterisk.sh.in @@ -11,12 +11,12 @@ # asterisk_enable="YES" # -. /etc/rc.subr +. %%RC_SUBR%% name=asterisk rcvar=`set_rcvar` -command=/usr/local/sbin/asterisk +command=%%PREFIX%%/sbin/asterisk pidfile=/var/run/asterisk.pid asterisk_enable=${asterisk_enable:-"NO"} |