mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
kmod-static-nodes: condition execution on modules.devname
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user