From 8ca434ec05620569c0bfc82c81c02c11ff694223 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 7 Mar 2023 11:25:28 +0100 Subject: update for upstream change on file extension The scripts are expected to have the file extension ".rsc" now. --- doc/hello-world.md | 4 ++-- 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 # 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; } -- cgit v1.2.3-54-g00ecf