mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
udev: String substitutions can be done in ENV, too
Precedence for example in ac63c8df30/rules.d/99-systemd.rules.in (L75).
Add ENV to the list of keys where string substitutions can be used.
While I'm at it, also sort the list in that paragraph alphabetically.
This commit is contained in:
15
man/udev.xml
15
man/udev.xml
@@ -719,15 +719,16 @@ SUBSYSTEM=="net", OPTIONS="log_level=debug"</programlisting></para>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<para>The <varname>NAME</varname>, <varname>SYMLINK</varname>,
|
||||
<varname>PROGRAM</varname>, <varname>OWNER</varname>,
|
||||
<varname>GROUP</varname>, <varname>MODE</varname>, <varname>SECLABEL</varname>,
|
||||
and <varname>RUN</varname> fields support simple string substitutions.
|
||||
<para>The <varname>ENV</varname>, <varname>GROUP</varname>,
|
||||
<varname>MODE</varname>, <varname>NAME</varname>,
|
||||
<varname>OWNER</varname>, <varname>PROGRAM</varname>,
|
||||
<varname>RUN</varname>, <varname>SECLABEL</varname>, and
|
||||
<varname>SYMLINK</varname> fields support simple string substitutions.
|
||||
The <varname>RUN</varname> substitutions are performed after all rules
|
||||
have been processed, right before the program is executed, allowing for
|
||||
the use of device properties set by earlier matching rules. For all other
|
||||
fields, substitutions are performed while the individual rule is being
|
||||
processed. The available substitutions are:</para>
|
||||
the use of device properties set by earlier matching rules. For all
|
||||
other fields, substitutions are performed while the individual rule is
|
||||
being processed. The available substitutions are:</para>
|
||||
<variablelist class='udev-directives'>
|
||||
<varlistentry>
|
||||
<term><option>$kernel</option>, <option>%k</option></term>
|
||||
|
||||
Reference in New Issue
Block a user