freebsd-ports/multimedia/mythtv/files/mythbackend.in
Doug Barton b4118877b1 Another round of the periodic sweep for removal of the
KEYWORD: FreeBSD scourge. We have ignored this keyword
for a long time now, so this is a non-functional change
(therefore no PORTREVISION bumps).

Insert a $FreeBSD tag where needed, and adjust a comment
in mail/milter-regex to match reality.
2007-02-26 23:02:04 +00:00

29 lines
509 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: mythbackend
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
# Define mythbackend_enable in one of these places:
# /etc/rc.conf
# /etc/rc.conf.local
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
mythbackend_enable=${mythbackend_enable-"NO"}
PATH=${PATH}:%%PREFIX%%/bin
. %%RC_SUBR%%
name="mythbackend"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/mythbackend &"
load_rc_config $name
start_cmd="echo \"Starting ${name}.\"; ${command}"
run_rc_command "$1"