1#!/bin/sh 2# 3# $FreeBSD: releng/11.0/etc/rc.d/sdpd 298514 2016-04-23 16:10:54Z lme $ 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