update for upstream change on file extension
The scripts are expected to have the file extension ".rsc" now.
This commit is contained in:
parent
fa5291f6d1
commit
8ca434ec05
|
@ -17,7 +17,7 @@ Requirements and installation
|
||||||
|
|
||||||
Just install the script:
|
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
|
Configuration
|
||||||
-------------
|
-------------
|
||||||
|
@ -30,7 +30,7 @@ Usage and invocation
|
||||||
|
|
||||||
Just run the script:
|
Just run the script:
|
||||||
|
|
||||||
/system/script/run hello-world.rsc;
|
/system/script/run hello-world;
|
||||||
|
|
||||||
See also
|
See also
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
#!rsc by RouterOS
|
#!rsc by RouterOS
|
||||||
# RouterOS script: hello-world.rsc
|
# RouterOS script: hello-world
|
||||||
# Copyright (c) 2023 Christian Hesse <mail@eworm.de>
|
# Copyright (c) 2023 Christian Hesse <mail@eworm.de>
|
||||||
# https://git.eworm.de/cgit/routeros-scripts-custom/about/COPYING.md
|
# https://git.eworm.de/cgit/routeros-scripts-custom/about/COPYING.md
|
||||||
#
|
#
|
||||||
# hello-world demo script
|
# hello-world demo script
|
||||||
# https://git.eworm.de/cgit/routeros-scripts-custom/about/doc/hello-world.md
|
# https://git.eworm.de/cgit/routeros-scripts-custom/about/doc/hello-world.md
|
||||||
|
|
||||||
:local 0 "hello-world.rsc";
|
:local 0 "hello-world";
|
||||||
:global GlobalFunctionsReady;
|
:global GlobalFunctionsReady;
|
||||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue