mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-26 02:49:33 +00:00
Compare commits
36 commits
c63826c99f
...
b751a6d5b6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b751a6d5b6 | ||
|
|
736c0ac08c | ||
|
|
6fb70fe2a1 | ||
|
|
378aad070d | ||
|
|
b5f6881f3d | ||
|
|
c9cf6b7023 | ||
|
|
ba89aa229c | ||
|
|
ca7c72338d | ||
|
|
7a8eecf555 | ||
|
|
2b4ccfe7aa | ||
|
|
c25d276d0e | ||
|
|
c50844d46f | ||
|
|
204977c685 | ||
|
|
ac9dfe4913 | ||
|
|
a31f5559aa | ||
|
|
066ef8cc4a | ||
|
|
74f343f6d5 | ||
|
|
76f9d34a70 | ||
|
|
8a908be4e0 | ||
|
|
e62a19257a | ||
|
|
735c163362 | ||
|
|
b6be7ded9a | ||
|
|
a0b4d422b5 | ||
|
|
87f28c234f | ||
|
|
4de0b2e7be | ||
|
|
cf375cbdd1 | ||
|
|
b20f025fc5 | ||
|
|
0f1f9a467f | ||
|
|
5c9825760f | ||
|
|
daf1cfb381 | ||
|
|
42ad0d310f | ||
|
|
f7e9f529d0 | ||
|
|
2e1d59721f | ||
|
|
29a82d1a42 | ||
|
|
de97ed6f19 | ||
|
|
0f3df0c75d |
9 changed files with 16 additions and 55 deletions
|
|
@ -17,7 +17,7 @@ Initial commands
|
|||
Run the complete base installation:
|
||||
|
||||
{
|
||||
:local BaseUrl "https://rsc.eworm.de/main/";
|
||||
:local BaseUrl "https://git.eworm.de/cgit/routeros-scripts/plain/";
|
||||
:local CertCommonName "ISRG Root X2";
|
||||
:local CertFileName "ISRG-Root-X2.pem";
|
||||
:local CertFingerprint "69729b8e15a86efc177a57afb7171dfc64add28c2fca8cf1507e34453ccb1470";
|
||||
|
|
|
|||
15
README.md
15
README.md
|
|
@ -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://rsc.eworm.de/main/certs/ISRG-Root-X2.pem" dst-path="isrg-root-x2.pem";
|
||||
/tool/fetch "https://git.eworm.de/cgit/routeros-scripts/plain/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://rsc.eworm.de/main/" . $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://git.eworm.de/cgit/routeros-scripts/plain/" . $Script . ".rsc") output=user as-value]->"data"); };
|
||||
|
||||

|
||||
|
||||
|
|
@ -404,15 +404,14 @@ immediately remove the link in question.
|
|||
Upstream
|
||||
--------
|
||||
|
||||
[rsc.eworm.de](https://rsc.eworm.de/)
|
||||
|
||||
[](https://rsc.eworm.de/)
|
||||
|
||||
### Code hosting
|
||||
URL:
|
||||
[GitHub.com](https://github.com/eworm-de/routeros-scripts#routeros-scripts)
|
||||
|
||||
* [eworm.de](https://git.eworm.de/cgit/routeros-scripts/about/)
|
||||
* [GitHub.com](https://github.com/eworm-de/routeros-scripts#routeros-scripts)
|
||||
* [GitLab.com](https://gitlab.com/eworm-de/routeros-scripts#routeros-scripts)
|
||||
Mirror:
|
||||
[eworm.de](https://git.eworm.de/cgit/routeros-scripts/about/)
|
||||
[GitLab.com](https://gitlab.com/eworm-de/routeros-scripts#routeros-scripts)
|
||||
|
||||
---
|
||||
[⬆️ Go back to top](#top)
|
||||
|
|
|
|||
|
|
@ -7,6 +7,4 @@ HTML := $(wildcard *.html)
|
|||
all: docs
|
||||
|
||||
docs: $(HTML)
|
||||
sed -i -e '/href=/s|\.md|\.html|' \
|
||||
-e '/blockquote/s|/\*! display \*/|display: none;|' \
|
||||
$(HTML)
|
||||
sed -i '/href=/s|\.md|\.html|' $(HTML)
|
||||
|
|
|
|||
|
|
@ -13,6 +13,5 @@ sed \
|
|||
markdown -f toc,idanchor "${1}" | sed \
|
||||
-e 's/href="\([-_\./[:alnum:]]*\)\.md\(#[-[:alnum:]]*\)\?"/href="\1.html\2"/g' \
|
||||
-e '/<h[1234] /s| id="\(.*\)">| id="\L\1">|' \
|
||||
-e '/<h[1234] /s|-2c-||g' -e '/<h[1234] /s|--26-amp-3b-||g' \
|
||||
-e '/The above link may be broken on code hosting sites/s|blockquote|blockquote style="display: none;"|'
|
||||
-e '/<h[1234] /s|-2c-||g' -e '/<h[1234] /s|--26-amp-3b-||g'
|
||||
printf '</body></html>'
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@
|
|||
</head><body>
|
||||
<table>
|
||||
<tr>
|
||||
<td rowspan=2><img src="__EWORM__" alt="eworm on meadow" /></td>
|
||||
<td rowspan=2><img src="__QR_CODE__" alt="QR code: rsc.eworm.de" /></td>
|
||||
<td rowspan=2><img src="__EWORM__" alt="eworm on meadow"></td>
|
||||
<td rowspan=2><img src="__QR_CODE__" alt="QR code: rsc.eworm.de"></td>
|
||||
<td class="head-top">RouterOS Scripts</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head-bottom">a collection of scripts for MikroTik RouterOS</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
<hr>
|
||||
|
|
|
|||
|
|
@ -5,27 +5,11 @@
|
|||
<link rel="icon" type="image/png" href="../logo.png">
|
||||
<script src="logo-color.d/script.js"></script>
|
||||
</head><body>
|
||||
<table>
|
||||
<tr>
|
||||
<td rowspan=2><img src="../general/eworm-meadow.avif" alt="eworm on meadow" /></td>
|
||||
<td rowspan=2><img src="../general/qr-code.png" alt="QR code: rsc.eworm.de" /></td>
|
||||
<td class="head-top">RouterOS Scripts</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head-bottom">a collection of scripts for MikroTik RouterOS</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
<h1>Logo Color Changer</h1>
|
||||
|
||||
<p><a href="../README.md">⬅️ Go back to main README</a></p>
|
||||
|
||||
<blockquote style="/*! display */"><p>💡️ <strong>Hint</strong>: This site or links
|
||||
on it may be broken on code hosting sites. Use
|
||||
<a href="https://rsc.eworm.de/main/contrib/logo-color.html">Logo Color Changer</a>
|
||||
instead.</p></blockquote>
|
||||
|
||||
<p>You want the logo for your own notifications? But you joined the
|
||||
<a href="https://t.me/routeros_scripts">Telegram Group</a> and want
|
||||
something that differentiates? Color it!</p>
|
||||
|
|
|
|||
|
|
@ -5,27 +5,11 @@
|
|||
<link rel="icon" type="image/png" href="../logo.png">
|
||||
<script src="notification.d/script.js"></script>
|
||||
</head><body>
|
||||
<table>
|
||||
<tr>
|
||||
<td rowspan=2><img src="../general/eworm-meadow.avif" alt="eworm on meadow" /></td>
|
||||
<td rowspan=2><img src="../general/qr-code.png" alt="QR code: rsc.eworm.de" /></td>
|
||||
<td class="head-top">RouterOS Scripts</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="head-bottom">a collection of scripts for MikroTik RouterOS</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
<h1>Notification Generator</h1>
|
||||
|
||||
<p><a href="../README.md">⬅️ Go back to main README</a></p>
|
||||
|
||||
<blockquote style="/*! display */"><p>💡️ <strong>Hint</strong>: This site or links
|
||||
on it may be broken on code hosting sites. Use
|
||||
<a href="https://rsc.eworm.de/main/contrib/notification.html">Notification Generator</a>
|
||||
instead.</p></blockquote>
|
||||
|
||||
<div class="notification">
|
||||
<img src="../logo.svg" alt="logo" class="logo" width=48 height=48>
|
||||
<div class="content">
|
||||
|
|
|
|||
|
|
@ -106,13 +106,10 @@ chat with [BotFather ↗️](https://t.me/BotFather) and set it there.
|
|||
|
||||

|
||||
|
||||
Have a look at my [Logo Color Changer](../../contrib/logo-color.html)
|
||||
Have a look at my
|
||||
[RouterOS-Scripts Logo Color Changer](../../contrib/logo-color.html)
|
||||
to create a colored version of this scripts' logo.
|
||||
|
||||
> 💡️ **Hint**: The above link may be broken on code hosting sites.
|
||||
> Use [Logo Color Changer](https://rsc.eworm.de/main/contrib/logo-color.html)
|
||||
> instead.
|
||||
|
||||
See also
|
||||
--------
|
||||
|
||||
|
|
|
|||
|
|
@ -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://rsc.eworm.de/main/doc/mod/scriptrunonce.d/hello-world.rsc;
|
||||
$ScriptRunOnce https://git.eworm.de/cgit/routeros-scripts/plain/doc/mod/scriptrunonce.d/hello-world.rsc;
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue