mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-12 19:41:18 +02:00
28 lines
487 B
Bash
28 lines
487 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD: head/multimedia/ffmpeg/files/ffserver.in 360599 2014-07-04 11:35:49Z wg $
|
|
#
|
|
|
|
# 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}"
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=ffserver
|
|
rcvar=ffserver_enable
|
|
|
|
command="%%PREFIX%%/bin/${name}"
|
|
command_args="&"
|
|
required_files=%%PREFIX%%/etc/ffserver.conf
|
|
|
|
load_rc_config ${name}
|
|
run_rc_command "$1"
|