xref: /freebsd/libexec/rc/rc.d/sdpd (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1#!/bin/sh
2#
3#
4
5# PROVIDE: sdpd
6# REQUIRE: DAEMON
7# BEFORE: LOGIN
8# KEYWORD: nojail shutdown
9
10. /etc/rc.subr
11
12name="sdpd"
13desc="Bluetooth Service Discovery Protocol daemon "
14command="/usr/sbin/${name}"
15rcvar="sdpd_enable"
16required_modules="ng_btsocket"
17
18load_rc_config $name
19control="${sdpd_control:-/var/run/sdp}"
20group="${sdpd_groupname:-nobody}"
21user="${sdpd_username:-nobody}"
22command_args="-c ${control} -g ${group} -u ${user}"
23
24# doesn't make sense to run in a svcj: nojail keyword
25sdpd_svcj="NO"
26
27run_rc_command "$1"
28