summaryrefslogtreecommitdiff
path: root/man/systemd.link.xml
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2020-10-09 12:13:00 +0200
committerLennart Poettering <lennart@poettering.net>2021-04-28 10:55:55 +0200
commitcbcdcaaa0ec5eccfe90e51391f9b8d027c555abf (patch)
treebf90d6e2676618af479fdaca49fa7bd3affd620e /man/systemd.link.xml
parent192a9d95ea3e058afd824d38a9cea16ad0a84a57 (diff)
downloadsystemd-cbcdcaaa0ec5eccfe90e51391f9b8d027c555abf.tar.gz
Add support for conditions on the machines firmware
This allows to limit units to machines that run on a certain firmware type. For device tree defined machines checking against the machine's compatible is also possible.
Diffstat (limited to 'man/systemd.link.xml')
-rw-r--r--man/systemd.link.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
index 5918a32189..6be115026b 100644
--- a/man/systemd.link.xml
+++ b/man/systemd.link.xml
@@ -222,6 +222,18 @@
</para>
</listitem>
</varlistentry>
+
+ <varlistentry id='firmware'>
+ <term><varname>Firmware=</varname></term>
+ <listitem>
+ <para>Checks whether the system is running on a machine with the specified firmware. See
+ <varname>ConditionFirmware=</varname> in
+ <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ for details. When prefixed with an exclamation mark (<literal>!</literal>), the result is negated.
+ If an empty string is assigned, then previously assigned value is cleared.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>