diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index ebb84e9db87..bc45803bbe7 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1235,27 +1235,32 @@ ConditionFirmware= - Check whether the system's firmware is of a certain type. Multiple values are possible. + Check whether the system's firmware is of a certain type. The following values are + possible: - uefi for systems with EFI. + + uefi matches systems with EFI. - device-tree for systems with a device tree. + device-tree matches systems with a device tree. + - device-tree-compatible(value) for systems with a device tree that is compatible to - value. + device-tree-compatible(value) + matches systems with a device tree that is compatible with value. + - smbios-field(field operator - value) for systems with a SMBIOS field containing a certain - value. field is the name of the SMBIOS field exposed as - sysfs attribute file below /sys/class/dmi/id/. - operator is one of <, <=, - >=, >, ==, - <> for version comparison, = and != - for literal string comparison, or $=, !$= for shell-style - glob comparison. value is the expected value of the SMBIOS field value - (possibly containing shell style globs in case $=/!$= is - used). - + smbios-field(field + operator value) matches systems + with a SMBIOS field containing a certain value. field is the name of + the SMBIOS field exposed as sysfs attribute file below + /sys/class/dmi/id/. operator is one of + <, <=, >=, + >, ==, <> for version + comparisons, = and != for literal string comparisons, or + $=, !$= for shell-style glob comparisons. + value is the expected value of the SMBIOS field value (possibly + containing shell style globs in case $=/!$= is used). + + @@ -1332,13 +1337,13 @@ ConditionKernelVersion= ConditionKernelVersion= may be used to check whether the kernel - version (as reported by uname -r) matches a certain expression (or if prefixed - with the exclamation mark does not match it). The argument must be a list of (potentially quoted) - expressions. Each expression starts with one of = or != for + version (as reported by uname -r) matches a certain expression, or if prefixed + with the exclamation mark, does not match. The argument must be a list of (potentially quoted) + expressions. Each expression starts with one of = or != for string comparisons, <, <=, ==, - <>, >=, > for a relative - version comparison, or $=, !$= for a shell-style glob - match. If no operator is specified $= is implied. + <>, >=, > for version + comparisons, or $=, !$= for a shell-style glob match. If no + operator is specified, $= is implied. Note that using the kernel version string is an unreliable way to determine which features are supported by a kernel, because of the widespread practice of backporting drivers, features, and