From 31ed59c51126fce7d958c188772a397e2a1ed010 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 18 Jan 2012 16:39:04 +0100 Subject: tmpfiles: support writing short strings to files, in order to support /sys manipulations at boot time, a la sysctl --- man/tmpfiles.d.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'man') diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 080da6681b..25a7c9ba48 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -98,12 +98,17 @@ L /tmp/foobar - - - - /dev/null f - Create a file if it doesn't exist yet + Create a file if it doesn't exist yet (optionally writing a short string into it, if the argument parameter is passed) F - Create or truncate a file + Create or truncate a file (optionally writing a short string into it, if the argument parameter is passed) + + + + w + Write the argument parameter to a file, if it exists. @@ -260,7 +265,10 @@ L /tmp/foobar - - - - /dev/null path of the symlink. For c, b determines the major/minor of the device node, with major and minor formatted as integers, separated by :, - e.g. "1:3". Ignored for all other lines. + e.g. "1:3". For f, F, w may be used to specify + a short string that is written to the file, + suffixed by a newline. Ignored for all other + lines. -- cgit v1.2.3-54-g00ecf