diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-06-26 19:11:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-06-27 21:30:48 +0200 |
commit | 23254af18d30d729608d20c57167816dd5f9d5d2 (patch) | |
tree | d1b5d943fa1c3f4f4378965b0b5836a91ce01d99 /man/systemd.unit.xml | |
parent | 9af868392bb8ceb50afc6b5028786dc266888dea (diff) | |
download | systemd-23254af18d30d729608d20c57167816dd5f9d5d2.tar.gz |
man: be more precise on the ConditionFirstBoot= documentation
Fixes: #5696
Diffstat (limited to 'man/systemd.unit.xml')
-rw-r--r-- | man/systemd.unit.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index 441378936a..3a3d26e5a6 100644 --- a/man/systemd.unit.xml +++ b/man/systemd.unit.xml @@ -980,13 +980,11 @@ to make sure they run before the stamp file's modification time gets reset indicating a completed update.</para> - <para><varname>ConditionFirstBoot=</varname> takes a boolean - argument. This condition may be used to conditionalize units - on whether the system is booting up with an unpopulated - <filename>/etc</filename> directory. This may be used to - populate <filename>/etc</filename> on the first boot after - factory reset, or when a new system instances boots up for the - first time.</para> + <para><varname>ConditionFirstBoot=</varname> takes a boolean argument. This condition may be used to + conditionalize units on whether the system is booting up with an unpopulated <filename>/etc</filename> + directory (specifically: an <filename>/etc</filename> with no <filename>/etc/machine-id</filename>). This may + be used to populate <filename>/etc</filename> on the first boot after factory reset, or when a new system + instance boots up for the first time.</para> <para>With <varname>ConditionPathExists=</varname> a file existence condition is checked before a unit is started. If |