units: use ConditionDirectoryNotEmpty= where applicable

This commit is contained in:
Lennart Poettering 2010-11-15 20:10:04 +01:00
parent 36af55d997
commit f5319832c4
2 changed files with 1 additions and 2 deletions

2
TODO
View File

@ -79,8 +79,6 @@
* declare /etc/os-release cross-distro standard
* add ConditionDirectoryNotEmpty=
Pre v12:
* fix hotplug transactions

View File

@ -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