xref: /freebsd/packages/devd/devd.ucl (revision bb75b0d581f74e22a68d7868ad1f5da1146a8de0)
1*bb75b0d5SLexi Winter/*
2*bb75b0d5SLexi Winter * Copyright (c) 2002 M. Warner Losh <imp@FreeBSD.org>
3*bb75b0d5SLexi Winter *
4*bb75b0d5SLexi Winter * Redistribution and use in source and binary forms, with or without
5*bb75b0d5SLexi Winter * modification, are permitted provided that the following conditions
6*bb75b0d5SLexi Winter * are met:
7*bb75b0d5SLexi Winter * 1. Redistributions of source code must retain the above copyright
8*bb75b0d5SLexi Winter *    notice, this list of conditions and the following disclaimer.
9*bb75b0d5SLexi Winter * 2. Redistributions in binary form must reproduce the above copyright
10*bb75b0d5SLexi Winter *    notice, this list of conditions and the following disclaimer in the
11*bb75b0d5SLexi Winter *    documentation and/or other materials provided with the distribution.
12*bb75b0d5SLexi Winter *
13*bb75b0d5SLexi Winter * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14*bb75b0d5SLexi Winter * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15*bb75b0d5SLexi Winter * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16*bb75b0d5SLexi Winter * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17*bb75b0d5SLexi Winter * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18*bb75b0d5SLexi Winter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19*bb75b0d5SLexi Winter * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20*bb75b0d5SLexi Winter * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21*bb75b0d5SLexi Winter * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22*bb75b0d5SLexi Winter * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23*bb75b0d5SLexi Winter * SUCH DAMAGE.
24*bb75b0d5SLexi Winter */
25*bb75b0d5SLexi Winter
26*bb75b0d5SLexi Wintercomment = "Kernel event handling daemon"
27*bb75b0d5SLexi Winter
28*bb75b0d5SLexi Winterdesc = <<EOD
29*bb75b0d5SLexi WinterThe devd utility is a system daemon that runs in the background all the time.
30*bb75b0d5SLexi WinterWhenever a device is added to or removed from the device tree, devd will
31*bb75b0d5SLexi Winterexecute actions specified in devd.conf(5).  For example, devd might execute
32*bb75b0d5SLexi Winterdhclient(8) when an Ethernet adapter is added to the system, and kill the
33*bb75b0d5SLexi Winterdhclient(8) instance when the same adapter is removed.  Another example would
34*bb75b0d5SLexi Winterbe for devd to use a table to locate and load via kldload(8) the proper driver
35*bb75b0d5SLexi Winterfor an unrecognized device that is added to the system.
36*bb75b0d5SLexi WinterEOD
37