mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 18:09:28 +00:00
Merge branch 'rsc-eworm-de' into next
This commit is contained in:
commit
07bc46f17d
5 changed files with 7 additions and 7 deletions
|
|
@ -17,7 +17,7 @@ Initial commands
|
||||||
Run the complete base installation:
|
Run the complete base installation:
|
||||||
|
|
||||||
{
|
{
|
||||||
:local BaseUrl "https://git.eworm.de/cgit/routeros-scripts/plain/";
|
:local BaseUrl "https://rsc.eworm.de/main/";
|
||||||
:local CertCommonName "ISRG Root X2";
|
:local CertCommonName "ISRG Root X2";
|
||||||
:local CertFileName "ISRG-Root-X2.pem";
|
:local CertFileName "ISRG-Root-X2.pem";
|
||||||
:local CertFingerprint "69729b8e15a86efc177a57afb7171dfc64add28c2fca8cf1507e34453ccb1470";
|
:local CertFingerprint "69729b8e15a86efc177a57afb7171dfc64add28c2fca8cf1507e34453ccb1470";
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ If you intend to download the scripts from a
|
||||||
different location (for example from github.com) install the corresponding
|
different location (for example from github.com) install the corresponding
|
||||||
certificate chain.
|
certificate chain.
|
||||||
|
|
||||||
/tool/fetch "https://git.eworm.de/cgit/routeros-scripts/plain/certs/ISRG-Root-X2.pem" dst-path="isrg-root-x2.pem";
|
/tool/fetch "https://rsc.eworm.de/main/certs/ISRG-Root-X2.pem" dst-path="isrg-root-x2.pem";
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
@ -125,7 +125,7 @@ date and time is set correctly!
|
||||||
|
|
||||||
Now let's download the main scripts and add them in configuration on the fly.
|
Now let's download the main scripts and add them in configuration on the fly.
|
||||||
|
|
||||||
:foreach Script in={ "global-config"; "global-config-overlay"; "global-functions" } do={ /system/script/add name=$Script owner=$Script source=([ /tool/fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit/routeros-scripts/plain/" . $Script . ".rsc") output=user as-value]->"data"); };
|
:foreach Script in={ "global-config"; "global-config-overlay"; "global-functions" } do={ /system/script/add name=$Script owner=$Script source=([ /tool/fetch check-certificate=yes-without-crl ("https://rsc.eworm.de/main/" . $Script . ".rsc") output=user as-value]->"data"); };
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ Usage and invocation
|
||||||
The function `$ScriptRunOnce` expects an URL (or name if
|
The function `$ScriptRunOnce` expects an URL (or name if
|
||||||
`ScriptRunOnceBaseUrl` is given) pointing to a script as parameter.
|
`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://rsc.eworm.de/main/doc/mod/scriptrunonce.d/hello-world.rsc;
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
# an ip address list for use with fw-addr-lists script
|
# an ip address list for use with fw-addr-lists script
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/fw-addr-lists.md
|
# https://rsc.eworm.de/doc/fw-addr-lists.md
|
||||||
git.eworm.de
|
rsc.eworm.de
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# an ip address list for use with fw-addr-lists script
|
# an ip address list for use with fw-addr-lists script
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/fw-addr-lists.md
|
# https://rsc.eworm.de/doc/fw-addr-lists.md
|
||||||
|
|
||||||
# example.net
|
# example.net
|
||||||
93.184.216.34
|
93.184.216.34
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue