cf4406c1aa
/etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices are attached to the system. Both daemons depend on Bluetooth socket layer and thus disabled by default. Bluetooth sockets layer must be either loaded as a module or compiled into kernel before the daemons can run. MFC after: 1 month
23 lines
362 B
Bash
23 lines
362 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: sdpd
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: nojail
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="sdpd"
|
|
control="${sdpd_control:-/var/run/sdp}"
|
|
group="${sdpd_group:-nobody}"
|
|
user="${sdpd_user:-nobody}"
|
|
command="/usr/sbin/${name}"
|
|
command_args="-c ${control} -g ${group} -u ${user}"
|
|
rcvar=`set_rcvar`
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|