freebsd-ports/multimedia/ffmpeg-devel/files/ffserver.in
Mario Sergio Fujikawa Ferreira 172854a46a Copied from ffserver.sh
2006-03-24 13:52:19 +00:00

26 lines
389 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ffserver
# REQUIRE: NETWORKING
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable ffserver:
#
#ffserver_enable="YES"
#
ffserver_enable="${ffserver_enable-NO}"
. %%RC_SUBR%%
name=ffserver
rcvar=`set_rcvar`
command=%%PREFIX%%/bin/${name}
required_files=%%PREFIX%%/etc/ffserver.conf
load_rc_config ${name}
run_rc_command "$1"