diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-07 19:25:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-07 21:05:09 +0200 |
commit | e26807239bd65bc17535a53cd540f38600e7ef24 (patch) | |
tree | 3100aec0ebcf4743d138fcf4d6d03977b8a90817 /units | |
parent | firstboot: follow lock protocol when changing /etc/shadow (diff) | |
download | systemd-e26807239bd65bc17535a53cd540f38600e7ef24.tar.xz systemd-e26807239bd65bc17535a53cd540f38600e7ef24.zip |
firstboot: get rid of firstboot generator again, introduce ConditionFirstBoot= instead
As Zbigniew pointed out a new ConditionFirstBoot= appears like the nicer
way to hook in systemd-firstboot.service on first boots (those with /etc
unpopulated), so let's do this, and get rid of the generator again.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-firstboot.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-firstboot.service.in b/units/systemd-firstboot.service.in index e7ae745564..a8719a8c7f 100644 --- a/units/systemd-firstboot.service.in +++ b/units/systemd-firstboot.service.in @@ -13,6 +13,7 @@ Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service systemd-sysusers.service Before=sysinit.target shutdown.target ConditionPathIsReadWrite=/etc +ConditionFirstBoot=yes [Service] Type=oneshot |