From: runiq Date: Mon, 19 Feb 2024 11:03:57 +0000 (+0100) Subject: udev: String substitutions can be done in ENV, too X-Git-Tag: v256-rc1~804 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=793166aea52dfbd06cfa622d5eda0bb31f9da6cf;p=thirdparty%2Fsystemd.git udev: String substitutions can be done in ENV, too Precedence for example in https://github.com/systemd/systemd/blob/ac63c8df309e37960618610d8b57ac19ac657254/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. --- diff --git a/man/udev.xml b/man/udev.xml index 3619222962b..6719c1b1c2e 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -719,15 +719,16 @@ SUBSYSTEM=="net", OPTIONS="log_level=debug" - The NAME, SYMLINK, - PROGRAM, OWNER, - GROUP, MODE, SECLABEL, - and RUN fields support simple string substitutions. + The ENV, GROUP, + MODE, NAME, + OWNER, PROGRAM, + RUN, SECLABEL, and + SYMLINK fields support simple string substitutions. The RUN 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: + 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: ,