summaryrefslogtreecommitdiff
path: root/examples/source/devd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-07-12 05:33:01 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-07-12 05:33:01 +0000
commitdb7e83c95875fdc630a4014b323f9fbec205ba6c (patch)
tree41e0ec15c6c8fc4a6abdfa8179327fa083a8729e /examples/source/devd
parent1cdd470038332a0355d7923483fc7b23cd7e8b7a (diff)
downloads6-rc-db7e83c95875fdc630a4014b323f9fbec205ba6c.tar.xz
Added the example source.
Diffstat (limited to 'examples/source/devd')
-rw-r--r--examples/source/devd/dependencies2
-rw-r--r--examples/source/devd/logger1
-rwxr-xr-xexamples/source/devd/run5
-rw-r--r--examples/source/devd/type1
4 files changed, 9 insertions, 0 deletions
diff --git a/examples/source/devd/dependencies b/examples/source/devd/dependencies
new file mode 100644
index 0000000..f0f7224
--- /dev/null
+++ b/examples/source/devd/dependencies
@@ -0,0 +1,2 @@
+init-devtmpfs
+mount-sys
diff --git a/examples/source/devd/logger b/examples/source/devd/logger
new file mode 100644
index 0000000..09c60aa
--- /dev/null
+++ b/examples/source/devd/logger
@@ -0,0 +1 @@
+devd-log
diff --git a/examples/source/devd/run b/examples/source/devd/run
new file mode 100755
index 0000000..ad97de9
--- /dev/null
+++ b/examples/source/devd/run
@@ -0,0 +1,5 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+exec -c
+s6-devd
+mdev
diff --git a/examples/source/devd/type b/examples/source/devd/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/source/devd/type
@@ -0,0 +1 @@
+longrun