aboutgitcodelistschat:MatrixIRC
path: root/cooker/example.hjson
diff options
context:
space:
mode:
Diffstat (limited to 'cooker/example.hjson')
-rw-r--r--cooker/example.hjson7
1 files changed, 5 insertions, 2 deletions
diff --git a/cooker/example.hjson b/cooker/example.hjson
index 4c656f7..7fec039 100644
--- a/cooker/example.hjson
+++ b/cooker/example.hjson
@@ -33,8 +33,11 @@
"match": [ /* Giuseppe's example */
{ "mknod": { "path": { "tag": "path" }, "mode": "c", "major": 1, "minor": { "in": [ 3, 5, 7, 8, 9 ], "tag": "minor" } } }
],
- "context": { "userns": "init", "mountns": "caller" },
- "call": { "mknod": { "path": { "tag": { "get": "path" } }, "mode": "c", "major": 1, "minor": { "tag": { "get": "minor" } } }, "ret": "x" },
+ "call": {
+ "mknod": { "path": { "tag": { "get": "path" } }, "mode": "c", "major": 1, "minor": { "tag": { "get": "minor" } } },
+ "ret": "x",
+ "context": { "user": "init", "mnt": "caller" }
+ },
"inject": { "what": "fd", "new": { "tag": "x" } },
"return": { "tag": "x" }
}