mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
26 lines
320 B
Bash
26 lines
320 B
Bash
#!/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"
|