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