Skip to content

Commit b7e2ab8

Browse files
committed
tmpfiles: add --create and --remove flags to handle creation and removal tmpfile entries
The tmpfiles.d spec contains entry types that should be acted upon in different modes of operation: create, clean, remove, and purge - so split finit logic operating on tmpfiles entries into create and remove operations, which are already implemented.
1 parent 58fc98c commit b7e2ab8

File tree

2 files changed

+259
-167
lines changed

2 files changed

+259
-167
lines changed

plugins/bootmisc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ static void setup(void *arg)
162162
kernel_links();
163163

164164
/* Create all system tmpfiles.d(5) */
165-
run_interactive(_PATH_TMPFILES, "Creating required directories and files");
165+
run_interactive(_PATH_TMPFILES " --create", "Creating required directories and files");
166166

167167
/* Set BOOT_TIME UTMP entry */
168168
utmp_set_boot();

0 commit comments

Comments
 (0)