blob: 77300e90486245bffca0d8966a2311a3bb9bf382 (
plain)
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
|
#!/bin/sh
# PROVIDE: rplayd
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable rplayd
#
#rplayd_enable="YES"
#
. /etc/rc.subr
name=rplayd
rcvar=rplayd_enable
load_rc_config $name
# set defaults:
: ${rplayd_enable:="NO"}
command=%%PREFIX%%/sbin/${name}
run_rc_command "$1"
|