diff options
-rw-r--r-- | Makefile.in | 1 | ||||
-rw-r--r-- | src/firecfg/main.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 9b1ecc4ad..b73e996d9 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -118,6 +118,7 @@ endif | |||
118 | install -m 0755 src/jailcheck/jailcheck $(DESTDIR)$(bindir) | 118 | install -m 0755 src/jailcheck/jailcheck $(DESTDIR)$(bindir) |
119 | # libraries and plugins | 119 | # libraries and plugins |
120 | install -m 0755 -d $(DESTDIR)$(libdir)/firejail | 120 | install -m 0755 -d $(DESTDIR)$(libdir)/firejail |
121 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/firecfg/firejail-welcome.sh | ||
121 | install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS) $(SECCOMP_FILTERS) | 122 | install -m 0644 -t $(DESTDIR)$(libdir)/firejail $(MYLIBS) $(SECCOMP_FILTERS) |
122 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS) | 123 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail $(SBOX_APPS) |
123 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/profstats/profstats | 124 | install -m 0755 -t $(DESTDIR)$(libdir)/firejail src/profstats/profstats |
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; |