xref: /freebsd/libexec/rc/rc.d/sdpd (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
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