aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mpdas/files/mpdas.in
blob: 9b3fcb9172380560da9c0dbaec7cf2982c813acc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
#

# PROVIDE: mpdas 
# REQUIRE: musicpd
# KEYWORD: shutdown

# Add the following line to /etc/rc.conf to enable mpdas:
#
#mpdas_enable="YES"

. %%RC_SUBR%%

name=mpdas
rcvar=`set_rcvar`

command=%%PREFIX%/bin/mpdas

load_rc_config $name

: ${mpdas_enable="NO"}

command_args="&"

run_rc_command "$1"