xref: /freebsd/libexec/rc/rc.d/sdpd (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
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
24run_rc_command "$1"
25