X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-modules-load.service.in;h=243afadc83ec2461d49360b597c69eb825032c1d;hp=72e1d70dce6f896aa99aac11b1360fc3de221bf0;hb=5cd6eef69b926175b889799d80bd9deb33a904d1;hpb=2c8049f3d31e4022845c1997a474925872ecea8f diff --git a/units/systemd-modules-load.service.in b/units/systemd-modules-load.service.in index 72e1d70dc..243afadc8 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=sysinit.target shutdown.target +ConditionCapability=CAP_SYS_MODULE ConditionDirectoryNotEmpty=|/lib/modules-load.d ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d