diff options
author | 2018-10-17 00:20:09 -0500 | |
---|---|---|
committer | 2018-10-17 00:20:09 -0500 | |
commit | b26d21e586a0f11e8b9e10a1e62bacdc8e3e40fc (patch) | |
tree | 67d8468fd420488becad805730ed8bc9061303dc /src/man/firejail-profile.txt | |
parent | firejail.config: clarify disable-mnt behaviour (diff) | |
parent | Update documentation for profile conditionals. (diff) | |
download | firejail-b26d21e586a0f11e8b9e10a1e62bacdc8e3e40fc.tar.gz firejail-b26d21e586a0f11e8b9e10a1e62bacdc8e3e40fc.tar.zst firejail-b26d21e586a0f11e8b9e10a1e62bacdc8e3e40fc.zip |
Merge pull request #2158 from crass/profile_conditional
#2158: Add support for rudimentary conditionals in profiles
Diffstat (limited to 'src/man/firejail-profile.txt')
-rw-r--r-- | src/man/firejail-profile.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 5daca8abd..ca7b52a51 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt | |||
@@ -87,6 +87,18 @@ Example: "blacklist ~/My Virtual Machines" | |||
87 | \fB# this is a comment | 87 | \fB# this is a comment |
88 | 88 | ||
89 | .TP | 89 | .TP |
90 | \fB?CONDITIONAL: profile line | ||
91 | Conditionally add profile line. | ||
92 | |||
93 | Example: "?HAS_APPIMAGE: whitelist ${HOME}/special/appimage/dir" | ||
94 | |||
95 | This example will load the whitelist profile line only if the \-\-appimage option has been specified on the command line. | ||
96 | |||
97 | Currently the only conditional supported is HAS_APPIMAGE. | ||
98 | |||
99 | The profile line may be any profile line that you would normally use in a profile \fBexcept\fR for "quiet" and "include" lines. | ||
100 | |||
101 | .TP | ||
90 | \fBinclude other.profile | 102 | \fBinclude other.profile |
91 | Include other.profile file. | 103 | Include other.profile file. |
92 | 104 | ||