1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/net/DarwinStreamingServer/files/darwin_streaming_server.sh.in
Norikatsu Shigemura 78825e7169 Update to 5.5.3
o rcNGfy
o Compile on amd64 [1]
  NOTE: DSS will support on amd64, because there are many
        fix which I heard:-) in cvs repository.  In this
        time, however, Apple doesn't release DSS supported
        on amd64:-(.

Submitted by:	Javier Martin Rueda <jmrueda@diatel.upm.es> [1]
2006-08-13 00:22:50 +00:00

27 lines
491 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: darwin_streaming_server
# REQUIRE: streamingadminserver
#
darwin_streaming_server_enable=${darwin_streaming_server_enable-"NO"}
. %%RC_SUBR%%
name=darwin_streaming_server
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/DarwinStreamingServer
load_rc_config ${name}
case "$streamingadminserver_enable" in
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
darwin_streaming_server_enable="NO"
;;
esac
pidfile=/var/run/DarwinStreamingServer.pid
run_rc_command "$1"