From e26807239bd65bc17535a53cd540f38600e7ef24 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 7 Jul 2014 19:25:31 +0200 Subject: 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. --- units/systemd-firstboot.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units') 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 -- cgit v1.2.3-54-g00ecf