1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/audio/rplay/files/rplayd.in
Michael Scheidell 31797f7ac0 - Correct previous commit: rplay.in sb rplayd.in, rename file, fix Makefile
PR:		ports/166658
Submitted by:	scheidell@ (me)
2012-04-25 22:14:19 +00:00

29 lines
336 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# 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"