blob: 7d7cd295de9503eb797dee3a2c294eacc0e7c25a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: darwin_streaming_server
# REQUIRE: streamingadminserver
#
darwin_streaming_server_enable=${darwin_streaming_server_enable-"NO"}
. /etc/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"
|