From 8083d486d0ac8e159b2d1294c8f6be7b11f9cab6 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 28 Sep 2013 14:51:39 -0400 Subject: kmod-static-nodes: condition execution on modules.devname --- units/kmod-static-nodes.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units') 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 -- cgit v1.2.3-54-g00ecf