summaryrefslogtreecommitdiff
path: root/man/systemd.link.xml
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-06-23 01:44:13 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-01 01:24:42 +0900
commit44005bfb4eaae840e481e7a0d0b74ac9ee418302 (patch)
tree6fa79fee336f4c0b45800fc84c487d0d670aea56 /man/systemd.link.xml
parentb38de0e9cc1dfd60a89cf9ec998ed94e71610d50 (diff)
downloadsystemd-44005bfb4eaae840e481e7a0d0b74ac9ee418302.tar.gz
network,udev: add Property= setting in [Match] section
Closes #5665.
Diffstat (limited to 'man/systemd.link.xml')
-rw-r--r--man/systemd.link.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
index b1be32955e..8539422efc 100644
--- a/man/systemd.link.xml
+++ b/man/systemd.link.xml
@@ -116,6 +116,21 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><varname>Property=</varname></term>
+ <listitem>
+ <para>A whitespace-separated list of udev property name with its value after a equal
+ (<literal>=</literal>). If multiple properties are specified, the test results are ANDed.
+ If the list is prefixed with a "!", the test is inverted. If a value contains white
+ spaces, then please quote whole key and value pair. If a value contains quotation, then
+ please escape the quotation with <literal>\</literal>.</para>
+
+ <para>Example: if a .link file has the following:
+ <programlisting>Property=ID_MODEL_ID=9999 "ID_VENDOR_FROM_DATABASE=vendor name" "KEY=with \"quotation\""</programlisting>
+ then, the .link file matches only when an interface has all the above three properties.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><varname>Host=</varname></term>
<listitem>
<para>Matches against the hostname or machine ID of the host. See <varname>ConditionHost=</varname> in