summaryrefslogtreecommitdiff
path: root/audio/sndio/files/sndiod.in
blob: e88ba89d9c1ae26a13e0a0bf0c02e2417b6ef7ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: sndiod
# REQUIRE: NETWORKING sysctl
# BEFORE:  DAEMON
# KEYWORD: shutdown

. /etc/rc.subr

name=sndiod
rcvar=sndiod_enable

load_rc_config $name

: ${sndiod_enable="NO"}

command="%%PREFIX%%/bin/sndiod"

run_rc_command "$1"