mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
And use it in etc/inc/disable-X11.inc.
This allows printing a warning message from inside a profile.
Everything after the command is printed in a warning message as is (that
is, without macro expansion).
Example:
$ firejail --noprofile --include=/etc/firejail/disable-X11.inc true
Reading profile /etc/firejail/disable-X11.inc
Warning: /etc/firejail/disable-X11.inc:5: This file is deprecated; use disable-x11.inc (lowercase) instead.
Reading profile /etc/firejail/disable-x11.inc
[...]
Relates to #6294.
This is a follow-up to #6709.
8 lines
242 B
Text
8 lines
242 B
Text
# This file is overwritten during software install.
|
|
# Persistent customizations should go in a .local file.
|
|
include disable-X11.local
|
|
|
|
warn This file is deprecated; use disable-x11.inc (lowercase) instead.
|
|
|
|
# Redirect
|
|
include disable-x11.inc
|