diff options
author | imp <imp@FreeBSD.org> | 2016-03-28 04:22:22 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2016-03-28 04:22:22 +0000 |
commit | 2b800612daf9f1e49be89fbebf8432f23f01cbc4 (patch) | |
tree | 6344a8d644078301182946395897b026f4c94ebf /sbin/devd/devd.conf.5 | |
parent | b98b691b5e86a35cd178463a894ae5ae81462fed (diff) | |
download | FreeBSD-src-2b800612daf9f1e49be89fbebf8432f23f01cbc4.zip FreeBSD-src-2b800612daf9f1e49be89fbebf8432f23f01cbc4.tar.gz |
Sometimes, it's useful to export the entire line to an external
program without listening to the devd socket for all events. Define
two new pseudo variables $*, the entire event from devctl and $_,
the entire event without the type character, since it might be easier
to use in some circumstances.
Diffstat (limited to 'sbin/devd/devd.conf.5')
-rw-r--r-- | sbin/devd/devd.conf.5 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/devd/devd.conf.5 b/sbin/devd/devd.conf.5 index 86570fb..21779ed 100644 --- a/sbin/devd/devd.conf.5 +++ b/sbin/devd/devd.conf.5 @@ -41,7 +41,7 @@ .\" ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS .\" SOFTWARE. .\" -.Dd July 11, 2015 +.Dd March 28, 2016 .Dt DEVD.CONF 5 .Os .Sh NAME @@ -234,10 +234,17 @@ A partial list of variables and their possible values that can be used together with the .Ic match statement. +The variables are published by the bus based on characteristics of the device +that generated the event (for device events). +Variables for other classes of events are dependent on those events. .Pp .Bl -tag -width ".Li manufacturer" -compact .It Ic Variable .Ic Description +.It Li * +The entire message from the current event +.It Li _ +The entire message from the current event, after the initial type character .It Li bus Device name of parent bus. .It Li cdev |