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