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