diff options
author | Harald Seiler <hws@denx.de> | 2020-09-06 21:23:36 +0200 |
---|---|---|
committer | Harald Seiler <hws@denx.de> | 2020-10-19 16:28:22 +0200 |
commit | f4466bdbf9c39e9b303809f93c04a80795606503 (patch) | |
tree | c4fea7954df3a7dbcd9d66ce88533e427295512b /units/first-boot-complete.target | |
parent | c261a5d01469a3f5b6c448c066ea7ad6d14a5300 (diff) | |
download | systemd-f4466bdbf9c39e9b303809f93c04a80795606503.tar.gz |
units: add first-boot-complete.target for first boot ordering
Add a new target for synchronizing units that wish to run once during
the first boot of the system. The machine-id will be committed to disk
only after the target has been reached, thus ensuring that all units
ordered before it had a chance to complete.
Diffstat (limited to 'units/first-boot-complete.target')
-rw-r--r-- | units/first-boot-complete.target | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/units/first-boot-complete.target b/units/first-boot-complete.target new file mode 100644 index 0000000000..98b236e9ff --- /dev/null +++ b/units/first-boot-complete.target @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=First Boot Complete +Documentation=man:systemd.special(7) +RefuseManualStart=yes +ConditionFirstBoot=yes |