diff options
author | Christian Hesse <mail@eworm.de> | 2022-05-11 10:32:48 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-05-12 11:04:00 +0200 |
commit | 95a75b3fa19f501fe5db8404a1c59a970cc8d7cd (patch) | |
tree | 29b6d4183c91fdd36224ca2ce41992d33f82e378 /doc/mod | |
parent | 76127ed53c527641a31e069e2f525ac22982463f (diff) |
doc/mod/scriptrunonce: RouterOS v7 path syntax
Diffstat (limited to 'doc/mod')
-rw-r--r-- | doc/mod/scriptrunonce.d/hello-world.rsc | 2 | ||||
-rw-r--r-- | doc/mod/scriptrunonce.d/scriptrunonce.avif | bin | 2466 -> 2356 bytes | |||
-rw-r--r-- | doc/mod/scriptrunonce.md | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/doc/mod/scriptrunonce.d/hello-world.rsc b/doc/mod/scriptrunonce.d/hello-world.rsc index 17ec575..6404781 100644 --- a/doc/mod/scriptrunonce.d/hello-world.rsc +++ b/doc/mod/scriptrunonce.d/hello-world.rsc @@ -1,3 +1,3 @@ #!rsc by RouterOS -:put ("Hello World from " . [ / system identity get name ] . "!"); +:put ("Hello World from " . [ /system/identity/get name ] . "!"); diff --git a/doc/mod/scriptrunonce.d/scriptrunonce.avif b/doc/mod/scriptrunonce.d/scriptrunonce.avif Binary files differindex 614c72c..27ccd41 100644 --- a/doc/mod/scriptrunonce.d/scriptrunonce.avif +++ b/doc/mod/scriptrunonce.d/scriptrunonce.avif diff --git a/doc/mod/scriptrunonce.md b/doc/mod/scriptrunonce.md index aaa64a9..6efa1b7 100644 --- a/doc/mod/scriptrunonce.md +++ b/doc/mod/scriptrunonce.md @@ -37,7 +37,7 @@ Usage and invocation The function `$ScriptRunOnce` expects an URL (or name if `ScriptRunOnceBaseUrl` is given) pointing to a script as parameter. - $ScriptRunOnce https://git.eworm.de/cgit/routeros-scripts/plain/doc/mod/scriptrunonce.d/hello-world.rsc + $ScriptRunOnce https://git.eworm.de/cgit/routeros-scripts/plain/doc/mod/scriptrunonce.d/hello-world.rsc; ![ScriptRunOnce](scriptrunonce.d/scriptrunonce.avif) |