summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-15 20:10:04 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-15 22:13:26 +0100
commitf5319832c4cbec4c9569adf1a4512cc620ddc58a (patch)
treecfe597639bef736dddafffba4f5c838baf9efec5
parent36af55d99711e9accdf42d8a7df60e069f4086c0 (diff)
units: use ConditionDirectoryNotEmpty= where applicable
-rw-r--r--TODO2
-rw-r--r--units/systemd-modules-load.service.in1
2 files changed, 1 insertions, 2 deletions
diff --git a/TODO b/TODO
index 287de70ace..5730686358 100644
--- a/TODO
+++ b/TODO
@@ -79,8 +79,6 @@
* declare /etc/os-release cross-distro standard
-* add ConditionDirectoryNotEmpty=
-
Pre v12:
* fix hotplug transactions
diff --git a/units/systemd-modules-load.service.in b/units/systemd-modules-load.service.in
index 59482953fc..612338b619 100644
--- a/units/systemd-modules-load.service.in
+++ b/units/systemd-modules-load.service.in
@@ -11,6 +11,7 @@ DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=basic.target shutdown.target
+ConditionDirectoryNotEmpty=/etc/modules-load.d
[Service]
Type=oneshot