aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg-devel
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2006-03-24 21:52:19 +0800
committerlioux <lioux@FreeBSD.org>2006-03-24 21:52:19 +0800
commitaa8020edd7d0fc2cb6b3e7285313ddef2bfc556a (patch)
tree9ca55b22c2ad149e19de1db3e439e435d9b49cbb /multimedia/ffmpeg-devel
parent487c16b06aa11c5f3d901e26943823e4ae9abb4c (diff)
downloadfreebsd-ports-gnome-aa8020edd7d0fc2cb6b3e7285313ddef2bfc556a.tar.gz
freebsd-ports-gnome-aa8020edd7d0fc2cb6b3e7285313ddef2bfc556a.tar.zst
freebsd-ports-gnome-aa8020edd7d0fc2cb6b3e7285313ddef2bfc556a.zip
Copied from ffserver.sh
Diffstat (limited to 'multimedia/ffmpeg-devel')
-rw-r--r--multimedia/ffmpeg-devel/files/ffserver.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/multimedia/ffmpeg-devel/files/ffserver.in b/multimedia/ffmpeg-devel/files/ffserver.in
new file mode 100644
index 000000000000..32faeb58296d
--- /dev/null
+++ b/multimedia/ffmpeg-devel/files/ffserver.in
@@ -0,0 +1,26 @@
+#!/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"