diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-06-03 00:01:46 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-06-03 00:01:46 +0200 |
commit | 953249a3a01cbd442b42558168da6c76a92a0e40 (patch) | |
tree | 1b7c3d8c91da6cc04eec719badc9d099d2c3fa9e /udev.7 | |
parent | 5e9eb88f2f6d99eaee16aeeb76ac08a1bf98a668 (diff) |
add TEST=="<file>" key
Diffstat (limited to 'udev.7')
-rw-r--r-- | udev.7 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -151,6 +151,11 @@ Match against the value of an environment variable. Up to five keys can be specified per rule. Depending on the type of operator, this key is also used to export a variable to the environment. .RE .PP +\fBTEST{\fR\fB\fIoctal mode mask\fR\fR\fB}\fR +.RS 4 +Test the existence of a file. An octal mode mask can be specified if needed. +.RE +.PP \fBPROGRAM\fR .RS 4 Execute external program. The key is true, if the program returns with exit code zero. The whole event environment is available to the executed program. The program's output printed to stdout, is available in the RESULT key. |