mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-10 02:45:11 +00:00
f1cc67d664
- While here, minor whitespace fix PR: 211992 Submitted by: henrik@affekt.org (maintainer)
26 lines
313 B
Bash
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"
|