Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/json_script-example.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/json_script-example.json b/examples/json_script-example.json
index 45636b7..5328e59 100644
--- a/examples/json_script-example.json
+++ b/examples/json_script-example.json
@@ -27,6 +27,11 @@
[ "exec_if_or", "%ORVAR%" ]
],
+ [ "if",
+ [ "isdir", "%ISDIRVAR%" ],
+ [ "exec_isdir", "%ISDIRVAR%" ]
+ ],
+
[ "return", "foobar" ],
[ "exec_non_reachable", "Arghhh" ]