xref: /openbsd-src/usr.sbin/dhcp6leasectl/dhcp6leasectl.8 (revision f59d8d7d51502cb5d28ee0a441f6d1935ab24afa)
1.\"	$OpenBSD: dhcp6leasectl.8,v 1.2 2024/06/07 17:38:22 jmc Exp $
2.\"
3.\" Copyright (c) 2021 Florian Obser <florian@openbsd.org>
4.\" Copyright (c) 2016 Kenneth R Westerback <kwesterback@gmail.com>
5.\" Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
6.\"
7.\" Permission to use, copy, modify, and distribute this software for any
8.\" purpose with or without fee is hereby granted, provided that the above
9.\" copyright notice and this permission notice appear in all copies.
10.\"
11.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\"
19.Dd $Mdocdate: June 7 2024 $
20.Dt DHCP6LEASECTL 8
21.Os
22.Sh NAME
23.Nm dhcp6leasectl
24.Nd control the dhcp6leased client
25.Sh SYNOPSIS
26.Nm
27.Op Fl l
28.Op Fl s Ar socket
29.Op Fl w Ar maxwait
30.Ar interface
31.Sh DESCRIPTION
32The
33.Nm
34program instructs the
35.Xr dhcp6leased 8
36daemon to request a new lease.
37.Pp
38The following options are available:
39.Bl -tag -width Ds
40.It Fl l
41List the configured lease on
42.Ar interface
43instead of requesting a new lease.
44.It Fl s Ar socket
45Use
46.Ar socket
47instead of the default
48.Pa /dev/dhcp6leased.sock
49to communicate with
50.Xr dhcp6leased 8 .
51.It Fl w Ar maxwait
52Specify the maximum number of seconds to wait for
53.Ar interface
54to be configured.
55The default is 10 seconds.
56.El
57.Sh FILES
58.Bl -tag -width "/dev/dhcp6leased.sockXX" -compact
59.It Pa /dev/dhcp6leased.sock
60.Ux Ns -domain
61socket used for communication with
62.Xr dhcp6leased 8 .
63.El
64.Sh SEE ALSO
65.Xr dhcp6leased.conf 5 ,
66.Xr dhcp6leased 8
67.Sh HISTORY
68The
69.Nm
70program first appeared in
71.Ox 7.6 .
72