diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-30 04:10:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-30 04:10:40 +0900 |
commit | 539bcc831b67a047e4e19469eb4471fc4ea024b6 (patch) | |
tree | be56cbc4b9ce4c1d07e4c3f1de0aac44b984cf0d /man | |
parent | e0e334d0e42fa6d27a3d6ab5e593cb40e19d6f5a (diff) | |
parent | 9c02391088558427152014b2b8a87c36a129f675 (diff) | |
download | systemd-539bcc831b67a047e4e19469eb4471fc4ea024b6.tar.gz systemd-539bcc831b67a047e4e19469eb4471fc4ea024b6.tar.bz2 systemd-539bcc831b67a047e4e19469eb4471fc4ea024b6.zip |
Merge pull request #12903 from keszybz/condition-quoting
Condition quoting
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.unit.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 045931038b..0ac9ff4882 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -1136,10 +1136,11 @@ <para><varname>ConditionKernelVersion=</varname> may be used to check whether the kernel version (as reported by <command>uname -r</command>) matches a certain expression (or if prefixed with the - exclamation mark does not match it). The argument must be a single string. If the string starts with - one of <literal><</literal>, <literal><=</literal>, <literal>=</literal>, - <literal>!=</literal>, <literal>>=</literal>, <literal>></literal> a relative version - comparison is done, otherwise the specified string is matched with shell-style globs.</para> + exclamation mark does not match it). The argument must be a list of (potentially quoted) expressions. + For each of the expressions, if it starts with one of <literal><</literal>, + <literal><=</literal>, <literal>=</literal>, <literal>!=</literal>, <literal>>=</literal>, + <literal>></literal> a relative version comparison is done, otherwise the specified string is + matched with shell-style globs.</para> <para>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 fixes from newer upstream |