diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-27 15:17:29 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-27 15:17:29 +0000 |
commit | 8797fba30db6f2587753346bee4d1f11c9d5b8ed (patch) | |
tree | b036b7e85f35cfda9c05da3f91fba62895abf98b /doc | |
parent | a7b093b0eb1db7dde2463271ee15766df8e584a2 (diff) | |
download | mdevd-8797fba30db6f2587753346bee4d1f11c9d5b8ed.tar.xz |
Support any action type in * and & command directives
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mdevd.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/mdevd.html b/doc/mdevd.html index dfb44a3..7b509d1 100644 --- a/doc/mdevd.html +++ b/doc/mdevd.html @@ -156,6 +156,12 @@ configuration where it can create device nodes as root or delete them, and does nothing else. </p> +<p> + A semantic difference with <tt>mdev</tt> is that a <tt>*</tt> command will +be run on <em>every</em> action type, not just <tt>ACTION=add</tt> and +<tt>ACTION=remove</tt>. +</p> + <h3> execline command support </h3> <p> @@ -174,8 +180,8 @@ equivalent of <tt>@<em>cmd</em></tt>. </li> when this line catches an event that has <tt>ACTION=remove</tt>. This is the equivalent of <tt>$<em>cmd</em></tt>. </li> <li> <tt>&<em>cmd</em></tt> : spawns <tt>execlineb -Pc <em>cmd</em></tt> -when this line catches an event no matter its action type. This is the -equivalent of <tt>*<em>cmd</em></tt>. </li> +when this line catches an event no matter its action type (<tt>add</tt>, +<tt>remove</tt>, or anything else). This is the equivalent of <tt>*<em>cmd</em></tt>. </li> </ul> <p> |