diff options
author | 2022-04-19 08:49:24 -0400 | |
---|---|---|
committer | 2022-04-19 08:49:24 -0400 | |
commit | 0cfb6413956f081fcbf00e78c70bd47ed97bf8f5 (patch) | |
tree | 7a4ed25994a26d382d30f0dca783de37d08be047 /src | |
parent | resurecting welcome.sh (diff) | |
download | firejail-0cfb6413956f081fcbf00e78c70bd47ed97bf8f5.tar.gz firejail-0cfb6413956f081fcbf00e78c70bd47ed97bf8f5.tar.zst firejail-0cfb6413956f081fcbf00e78c70bd47ed97bf8f5.zip |
firecfg --guide
Diffstat (limited to 'src')
-rw-r--r-- | src/firecfg/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/firecfg/main.c b/src/firecfg/main.c index 2f346fecd..0072c2768 100644 --- a/src/firecfg/main.c +++ b/src/firecfg/main.c | |||
@@ -37,6 +37,7 @@ static char *usage_str = | |||
37 | " --debug - print debug messages.\n\n" | 37 | " --debug - print debug messages.\n\n" |
38 | " --fix - fix .desktop files.\n\n" | 38 | " --fix - fix .desktop files.\n\n" |
39 | " --fix-sound - create ~/.config/pulse/client.conf file.\n\n" | 39 | " --fix-sound - create ~/.config/pulse/client.conf file.\n\n" |
40 | " --guide - guided configuration for new users.\n\n" | ||
40 | " --help, -? - this help screen.\n\n" | 41 | " --help, -? - this help screen.\n\n" |
41 | " --list - list all firejail symbolic links.\n\n" | 42 | " --list - list all firejail symbolic links.\n\n" |
42 | " --version - print program version and exit.\n\n" | 43 | " --version - print program version and exit.\n\n" |
@@ -373,6 +374,10 @@ int main(int argc, char **argv) { | |||
373 | fix_desktop_files(home); | 374 | fix_desktop_files(home); |
374 | return 0; | 375 | return 0; |
375 | } | 376 | } |
377 | else if (strcmp(argv[i], "--guide") == 0) { | ||
378 | return system(LIBDIR "/firejail/firejail-welcome.sh"); | ||
379 | return 0; | ||
380 | } | ||
376 | else if (strcmp(argv[i], "--list") == 0) { | 381 | else if (strcmp(argv[i], "--list") == 0) { |
377 | list(); | 382 | list(); |
378 | return 0; | 383 | return 0; |