1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-10 02:45:11 +00:00
freebsd-ports/audio/mpdas/files/mpdas.in
Dmitry Marakasov f1cc67d664 - Update to 0.4.2
- While here, minor whitespace fix

PR:		211992
Submitted by:	henrik@affekt.org (maintainer)
2016-08-19 18:25:15 +00:00

26 lines
313 B
Bash

#!/bin/sh
#
# PROVIDE: mpdas
# REQUIRE: musicpd
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable mpdas:
#
#mpdas_enable="YES"
. /etc/rc.subr
name=mpdas
rcvar=mpdas_enable
command=%%PREFIX%%/bin/mpdas
load_rc_config $name
: ${mpdas_enable="NO"}
command_args="-d"
run_rc_command "$1"