1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/audio/rplay/files/rplayd.in
2021-04-06 16:31:13 +02:00

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"