#!/bin/sh
#
# $FreeBSD: head/multimedia/ffmpeg0/files/ffserver0.in 329826 2013-10-08 19:24:30Z wg $
#

# PROVIDE: ffserver0
# REQUIRE: NETWORKING
# KEYWORD: shutdown

#
# Add the following lines to /etc/rc.conf to enable ffserver:
#
#ffserver0_enable="YES"
#
ffserver0_enable="${ffserver0_enable-NO}"

. /etc/rc.subr

name=ffserver0
rcvar=ffserver0_enable

command="/usr/local/bin/${name} &"
required_files=/usr/local/etc/ffserver0.conf

load_rc_config ${name}
run_rc_command "$1"
