.\" $OpenBSD: dhcpleasectl.8,v 1.5 2023/03/02 17:09:54 jmc Exp $ .\" .\" Copyright (c) 2021 Florian Obser .\" Copyright (c) 2016 Kenneth R Westerback .\" Copyright (c) 2004, 2005 Esben Norby .\" .\" 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: March 2 2023 $ .Dt DHCPLEASECTL 8 .Os .Sh NAME .Nm dhcpleasectl .Nd control the dhcpleased client .Sh SYNOPSIS .Nm .Op Fl l .Op Fl s Ar socket .Op Fl w Ar maxwait .Ar interface .Sh DESCRIPTION The .Nm program instructs the .Xr dhcpleased 8 daemon to request a new lease. .Pp The following options are available: .Bl -tag -width Ds .It Fl l List the configured lease on .Ar interface instead of requesting a new lease. .It Fl s Ar socket Use .Ar socket instead of the default .Pa /dev/dhcpleased.sock to communicate with .Xr dhcpleased 8 . .It Fl w Ar maxwait Specify the maximum number of seconds to wait for .Ar interface to be configured. The default is to wait 10 seconds unless .Fl l is specified. .El .Sh FILES .Bl -tag -width "/dev/dhcpleased.sockXX" -compact .It Pa /dev/dhcpleased.sock .Ux Ns -domain socket used for communication with .Xr dhcpleased 8 . .El .Sh SEE ALSO .Xr dhcpleased.conf 5 , .Xr dhcpleased 8 .Sh HISTORY The .Nm program first appeared in .Ox 6.9 .