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