summaryrefslogtreecommitdiff
path: root/units/kmod-static-nodes.service.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-09-28 14:51:39 -0400
committerDave Reisner <dreisner@archlinux.org>2013-09-28 14:51:39 -0400
commit8083d486d0ac8e159b2d1294c8f6be7b11f9cab6 (patch)
treed4f530bf1be806efd0ac41fc31e823fecabe963a /units/kmod-static-nodes.service.in
parentedcfd89ad0996686488c02ee0062d913fa0ba483 (diff)
kmod-static-nodes: condition execution on modules.devname
Diffstat (limited to 'units/kmod-static-nodes.service.in')
-rw-r--r--units/kmod-static-nodes.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/kmod-static-nodes.service.in b/units/kmod-static-nodes.service.in
index d8a84204a7..ff4017bada 100644
--- a/units/kmod-static-nodes.service.in
+++ b/units/kmod-static-nodes.service.in
@@ -10,6 +10,7 @@ Description=Create list of required static device nodes for the current kernel
DefaultDependencies=no
Before=sysinit.target systemd-tmpfiles-setup-dev.service
ConditionCapability=CAP_MKNOD
+ConditionPathExists=/lib/modules/%v/modules.devname
[Service]
Type=oneshot