diff options
-rw-r--r-- | doc/hello-world.md | 4 | ||||
-rw-r--r-- | hello-world.rsc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/hello-world.md b/doc/hello-world.md index a9be755..e8af164 100644 --- a/doc/hello-world.md +++ b/doc/hello-world.md @@ -17,7 +17,7 @@ Requirements and installation Just install the script: - $ScriptInstallUpdate hello-world.rsc "base-url=https://git.eworm.de/cgit/routeros-scripts-custom/plain/" + $ScriptInstallUpdate hello-world "base-url=https://git.eworm.de/cgit/routeros-scripts-custom/plain/" Configuration ------------- @@ -30,7 +30,7 @@ Usage and invocation Just run the script: - /system/script/run hello-world.rsc; + /system/script/run hello-world; See also -------- diff --git a/hello-world.rsc b/hello-world.rsc index f3a3436..bd4619c 100644 --- a/hello-world.rsc +++ b/hello-world.rsc @@ -1,12 +1,12 @@ #!rsc by RouterOS -# RouterOS script: hello-world.rsc +# RouterOS script: hello-world # Copyright (c) 2023 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts-custom/about/COPYING.md # # hello-world demo script # https://git.eworm.de/cgit/routeros-scripts-custom/about/doc/hello-world.md -:local 0 "hello-world.rsc"; +:local 0 "hello-world"; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |