From 814872e925ed79c70a13fdf9a9ca7eb30e551110 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 14 May 2020 10:11:56 +0200 Subject: condition: introduce systemd.condition-first-boot= kernel command line switch Much like systemd.condition-needs-update= this new switch allows overriding of a unit file condition, but this time its ConditionFirstBoot=. Usecase is also primarily debugging, but could be useful for other schemes too. --- man/kernel-command-line.xml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'man/kernel-command-line.xml') diff --git a/man/kernel-command-line.xml b/man/kernel-command-line.xml index b0cc3fea01..8a899aee56 100644 --- a/man/kernel-command-line.xml +++ b/man/kernel-command-line.xml @@ -433,8 +433,11 @@ Takes a boolean argument, defaults to on. If off, systemd-firstboot.service8 - will not query the user for basic system settings, even if the system boots up for the first time and the - relevant settings are not initialized yet. + will not query the user for basic system settings, even if the system boots up for the first time and + the relevant settings are not initialized yet. Not to be confused with + systemd.condition-first-boot= (see below), which overrides the result of the + ConditionFirstBoot= unit file condition, and thus controls more than just + systemd-firstboot.service behaviour. @@ -445,6 +448,17 @@ systemd.unit5 for details. + + + systemd.condition-first-boot= + + Takes a boolean argument. If specified, overrides the result of + ConditionFirstBoot= unit condition checks. See + systemd.unit5 for + details. Not to be confused with systemd.firstboot= which only controls behaviour + of the systemd-firstboot.service system service but has no effect on the + condition check (see above). + -- cgit v1.2.1