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
45e2f7b0a8
9 changed files with 8 additions and 8 deletions
|
|
@ -17,7 +17,7 @@ Initial commands
|
|||
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 CertFileName "ISRG-Root-X2.pem";
|
||||
:local CertFingerprint "69729b8e15a86efc177a57afb7171dfc64add28c2fca8cf1507e34453ccb1470";
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
|
|
@ -87,7 +87,7 @@ If you intend to download the scripts from a
|
|||
different location (for example from github.com) install the corresponding
|
||||
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.
|
||||
|
||||
: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
|
||||
`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
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/fw-addr-lists.md
|
||||
git.eworm.de
|
||||
# https://rsc.eworm.de/doc/fw-addr-lists.md
|
||||
rsc.eworm.de
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# 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
|
||||
93.184.216.34
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# https://rsc.eworm.de/#editing-configuration
|
||||
|
||||
# Copy relevant configuration from global-config, paste and modify it here.
|
||||
# https://rsc.eworm.de/global-config.rsc
|
||||
# https://rsc.eworm.de/main/global-config.rsc
|
||||
|
||||
|
||||
# End of global-config-overlay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue