summaryrefslogtreecommitdiff
path: root/examples/s6
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-23 06:05:46 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-23 06:05:46 +0000
commitedb17cf415fac5f70e00dd86802adb49d1e5ca06 (patch)
tree709d4514416d43495f09be659f4fa0fd8e1ecdab /examples/s6
parent09db9410aa882e4d981272e409fb23ce8d1ced16 (diff)
downloadmdevd-edb17cf415fac5f70e00dd86802adb49d1e5ca06.tar.xz
Add examples
Diffstat (limited to 'examples/s6')
-rwxr-xr-xexamples/s6/mdevd/log/run2
-rw-r--r--examples/s6/mdevd/notification-fd1
-rwxr-xr-xexamples/s6/mdevd/run3
3 files changed, 6 insertions, 0 deletions
diff --git a/examples/s6/mdevd/log/run b/examples/s6/mdevd/log/run
new file mode 100755
index 0000000..f3d5913
--- /dev/null
+++ b/examples/s6/mdevd/log/run
@@ -0,0 +1,2 @@
+#!/bin/execlineb -P
+mdevd
diff --git a/examples/s6/mdevd/notification-fd b/examples/s6/mdevd/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/s6/mdevd/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/s6/mdevd/run b/examples/s6/mdevd/run
new file mode 100755
index 0000000..c2a7b18
--- /dev/null
+++ b/examples/s6/mdevd/run
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+exec -c
+mdevd-netlink -d 3