#!/bin/sh
#
# $FreeBSD: branches/RELEASE_8_4_0/multimedia/ffmpeg-devel/files/ffserver-devel.in 302427 2012-08-12 08:33:10Z mm $
#

# PROVIDE: ffserver-head
# REQUIRE: NETWORKING
# KEYWORD: shutdown

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

. /etc/rc.subr

name=ffserver_head
rcvar=ffserver_head_enable

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

load_rc_config ${name}
run_rc_command "$1"
