tmpfiles: add --create and --remove flags

Allow execution of tmpfiles to specify which mode(s) of operation to run in.
This commit is contained in:
Aaron Andersen committed 2025-06-02 19:27:24 -04:00
1 parent ff95ebeb91
commit a5710125f6
2 files changed
+255 -199

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ static void setup(void *arg)
kernel_links();
/* Create all system tmpfiles.d(5) */
run_interactive(_PATH_TMPFILES, "Creating required directories and files");
run_interactive(_PATH_TMPFILES " --create", "Creating required directories and files");
/* Set BOOT_TIME UTMP entry */
utmp_set_boot();