diff options
Diffstat (limited to 'testing/nldev/nldev-trigger.initd')
-rw-r--r-- | testing/nldev/nldev-trigger.initd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/nldev/nldev-trigger.initd b/testing/nldev/nldev-trigger.initd new file mode 100644 index 0000000000..65482d8cba --- /dev/null +++ b/testing/nldev/nldev-trigger.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run + +depend() { + need nldev + provide dev + keyword -lxc -vserver +} + +start() { + ebegin "Populating /dev with existing devices through uevents" + /bin/nltrigger add all + eend $? +} |