diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-09-03 23:13:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-12 08:46:03 +0200 |
commit | d4e9eb91ea12e11bff7d8c6265b067a20ccf37b8 (patch) | |
tree | c9cb327e0a5aead60c950acec60ea3994f029945 /man/tmpfiles.d.xml | |
parent | test: extend unit-name test a bit (diff) | |
download | systemd-d4e9eb91ea12e11bff7d8c6265b067a20ccf37b8.tar.xz systemd-d4e9eb91ea12e11bff7d8c6265b067a20ccf37b8.zip |
tmpfiles: support globbing for w option
Break out the write logic into a separate function and simply use it as
a callback to glob_item.
This allows users to consolidate writes to sysfs with multiple similar
pathnames, e.g.
w /sys/class/block/sd[a-z]/queue/read_ahead_kb - - - - 1024
Diffstat (limited to 'man/tmpfiles.d.xml')
-rw-r--r-- | man/tmpfiles.d.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index b7397b64b5..c6325a457b 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -114,7 +114,7 @@ L /tmp/foobar - - - - /dev/null</programlisting> <varlistentry> <term><varname>w</varname></term> - <listitem><para>Write the argument parameter to a file, if it exists.</para></listitem> + <listitem><para>Write the argument parameter to a file, if it exists. Lines of this type accept shell-style globs in place of normal path names.</para></listitem> </varlistentry> <varlistentry> |