OpenBSD-4.6/usr.sbin/btd/btd.8

Compare this file to the similar file:
Show the results in this format:

.\"	$OpenBSD: btd.8,v 1.2 2008/12/05 22:04:00 jmc Exp $
.\"
.\" Copyright (c) 2008 Todd T. Fries <todd@OpenBSD.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: December 5 2008 $
.Dt BTD 8
.Os
.Sh NAME
.Nm btd
.Nd bluetooth daemon
.Sh SYNOPSIS
.Nm btd
.Op Fl d
.Sh DESCRIPTION
.Nm
attaches and configures
.Xr bluetooth 4
devices.
It manages the pin codes between pairs of bluetooth devices
and sets up communication between the two.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl d
Do not daemonize.
If this option is specified,
.Nm
will run in the foreground and log to
.Em stderr .
.El
.Pp
.Nm
is usually started at boot time, and can be enabled by
setting
.Va bt
in
.Pa /etc/rc.conf.local .
See
.Xr rc 8
and
.Xr rc.conf 8
for more information on the boot process
and enabling daemons.
.Pp
When
.Nm
starts up, it reads settings from its configuration file,
typically
.Xr bt.conf 5 .
.Sh FILES
.Bl -tag -width "/var/run/btd.sockXXX" -compact
.It Pa /var/run/btd.sock
Socket
.Nm
listens on.
.It Pa /var/db/btd.db
Where SDP responses and link keys are cached.
.El
.Sh SEE ALSO
.Xr bluetooth 4 ,
.Xr bt.conf 5 ,
.Xr btctl 8 ,
.Xr rc 8 ,
.Xr rc.conf 8
.Sh HISTORY
The
.Nm
program first appeared in
.Ox 4.5 .