aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-01-03 09:49:24 +0100
committerGravatar Christian Hesse <mail@eworm.de>2022-01-03 10:00:16 +0100
commit8f79c4de79775d88a830ad9bc496e02b3f53671a (patch)
tree4d10342bd83ad4b9219c9ea292b380108548318d
parent6eddaf9b87d88d61d116a972d0ebfce0e732c421 (diff)
README: convert screenshots to AVIF
-rw-r--r--README.d/01-download-certs.avifbin0 -> 2115 bytes
-rw-r--r--README.d/01-download-certs.pngbin4827 -> 0 bytes
-rw-r--r--README.d/02-import-certs.avifbin0 -> 2356 bytes
-rw-r--r--README.d/02-import-certs.pngbin4824 -> 0 bytes
-rw-r--r--README.d/03-check-certs.avifbin0 -> 5059 bytes
-rw-r--r--README.d/03-check-certs.pngbin8366 -> 0 bytes
-rw-r--r--README.d/04-import-scripts.avifbin0 -> 3810 bytes
-rw-r--r--README.d/04-import-scripts.pngbin5446 -> 0 bytes
-rw-r--r--README.d/05-edit-global-config-overlay.avifbin0 -> 6600 bytes
-rw-r--r--README.d/05-edit-global-config-overlay.pngbin12301 -> 0 bytes
-rw-r--r--README.d/06-run-and-schedule-scripts.avifbin0 -> 2994 bytes
-rw-r--r--README.d/06-run-and-schedule-scripts.pngbin4526 -> 0 bytes
-rw-r--r--README.d/07-schedule-update.avifbin0 -> 2312 bytes
-rw-r--r--README.d/07-schedule-update.pngbin3654 -> 0 bytes
-rw-r--r--README.d/08-update-scripts.avifbin0 -> 1917 bytes
-rw-r--r--README.d/08-update-scripts.pngbin2985 -> 0 bytes
-rw-r--r--README.d/09-install-scripts.avifbin0 -> 2493 bytes
-rw-r--r--README.d/09-install-scripts.pngbin4320 -> 0 bytes
-rw-r--r--README.d/10-schedule-script.avifbin0 -> 2009 bytes
-rw-r--r--README.d/10-schedule-script.pngbin3292 -> 0 bytes
-rw-r--r--README.d/11-setup-lease-script.avifbin0 -> 3712 bytes
-rw-r--r--README.d/11-setup-lease-script.pngbin7041 -> 0 bytes
-rw-r--r--README.md22
23 files changed, 11 insertions, 11 deletions
diff --git a/README.d/01-download-certs.avif b/README.d/01-download-certs.avif
new file mode 100644
index 0000000..41fa5ca
--- /dev/null
+++ b/README.d/01-download-certs.avif
Binary files differ
diff --git a/README.d/01-download-certs.png b/README.d/01-download-certs.png
deleted file mode 100644
index d33040b..0000000
--- a/README.d/01-download-certs.png
+++ /dev/null
Binary files differ
diff --git a/README.d/02-import-certs.avif b/README.d/02-import-certs.avif
new file mode 100644
index 0000000..09fe586
--- /dev/null
+++ b/README.d/02-import-certs.avif
Binary files differ
diff --git a/README.d/02-import-certs.png b/README.d/02-import-certs.png
deleted file mode 100644
index 09bef7a..0000000
--- a/README.d/02-import-certs.png
+++ /dev/null
Binary files differ
diff --git a/README.d/03-check-certs.avif b/README.d/03-check-certs.avif
new file mode 100644
index 0000000..52c4df8
--- /dev/null
+++ b/README.d/03-check-certs.avif
Binary files differ
diff --git a/README.d/03-check-certs.png b/README.d/03-check-certs.png
deleted file mode 100644
index 802967c..0000000
--- a/README.d/03-check-certs.png
+++ /dev/null
Binary files differ
diff --git a/README.d/04-import-scripts.avif b/README.d/04-import-scripts.avif
new file mode 100644
index 0000000..c6a2a3c
--- /dev/null
+++ b/README.d/04-import-scripts.avif
Binary files differ
diff --git a/README.d/04-import-scripts.png b/README.d/04-import-scripts.png
deleted file mode 100644
index 0db8c4d..0000000
--- a/README.d/04-import-scripts.png
+++ /dev/null
Binary files differ
diff --git a/README.d/05-edit-global-config-overlay.avif b/README.d/05-edit-global-config-overlay.avif
new file mode 100644
index 0000000..8a8a173
--- /dev/null
+++ b/README.d/05-edit-global-config-overlay.avif
Binary files differ
diff --git a/README.d/05-edit-global-config-overlay.png b/README.d/05-edit-global-config-overlay.png
deleted file mode 100644
index fb876ab..0000000
--- a/README.d/05-edit-global-config-overlay.png
+++ /dev/null
Binary files differ
diff --git a/README.d/06-run-and-schedule-scripts.avif b/README.d/06-run-and-schedule-scripts.avif
new file mode 100644
index 0000000..b59c2cb
--- /dev/null
+++ b/README.d/06-run-and-schedule-scripts.avif
Binary files differ
diff --git a/README.d/06-run-and-schedule-scripts.png b/README.d/06-run-and-schedule-scripts.png
deleted file mode 100644
index 23b4d7b..0000000
--- a/README.d/06-run-and-schedule-scripts.png
+++ /dev/null
Binary files differ
diff --git a/README.d/07-schedule-update.avif b/README.d/07-schedule-update.avif
new file mode 100644
index 0000000..cb43b48
--- /dev/null
+++ b/README.d/07-schedule-update.avif
Binary files differ
diff --git a/README.d/07-schedule-update.png b/README.d/07-schedule-update.png
deleted file mode 100644
index 5449e91..0000000
--- a/README.d/07-schedule-update.png
+++ /dev/null
Binary files differ
diff --git a/README.d/08-update-scripts.avif b/README.d/08-update-scripts.avif
new file mode 100644
index 0000000..434bc84
--- /dev/null
+++ b/README.d/08-update-scripts.avif
Binary files differ
diff --git a/README.d/08-update-scripts.png b/README.d/08-update-scripts.png
deleted file mode 100644
index 3f05355..0000000
--- a/README.d/08-update-scripts.png
+++ /dev/null
Binary files differ
diff --git a/README.d/09-install-scripts.avif b/README.d/09-install-scripts.avif
new file mode 100644
index 0000000..467b9e4
--- /dev/null
+++ b/README.d/09-install-scripts.avif
Binary files differ
diff --git a/README.d/09-install-scripts.png b/README.d/09-install-scripts.png
deleted file mode 100644
index 6adee16..0000000
--- a/README.d/09-install-scripts.png
+++ /dev/null
Binary files differ
diff --git a/README.d/10-schedule-script.avif b/README.d/10-schedule-script.avif
new file mode 100644
index 0000000..945a7df
--- /dev/null
+++ b/README.d/10-schedule-script.avif
Binary files differ
diff --git a/README.d/10-schedule-script.png b/README.d/10-schedule-script.png
deleted file mode 100644
index 5e72960..0000000
--- a/README.d/10-schedule-script.png
+++ /dev/null
Binary files differ
diff --git a/README.d/11-setup-lease-script.avif b/README.d/11-setup-lease-script.avif
new file mode 100644
index 0000000..168481b
--- /dev/null
+++ b/README.d/11-setup-lease-script.avif
Binary files differ
diff --git a/README.d/11-setup-lease-script.png b/README.d/11-setup-lease-script.png
deleted file mode 100644
index 24ca57f..0000000
--- a/README.d/11-setup-lease-script.png
+++ /dev/null
Binary files differ
diff --git a/README.md b/README.md
index 57c52ca..3c38b5b 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ certificate chain.
/ tool fetch "https://git.eworm.de/cgit/routeros-scripts/plain/certs/R3.pem" dst-path="letsencrypt-R3.pem";
-![screenshot: download certs](README.d/01-download-certs.png)
+![screenshot: download certs](README.d/01-download-certs.avif)
Note that the commands above do *not* verify server certificate, so if you
want to be safe download with your workstations's browser and transfer the
@@ -65,7 +65,7 @@ Then we import the certificates.
/ certificate import file-name=letsencrypt-R3.pem passphrase="";
-![screenshot: import certs](README.d/02-import-certs.png)
+![screenshot: import certs](README.d/02-import-certs.avif)
For basic verification we rename the certificates and print their count. Make
sure the certificate count is **two**.
@@ -74,7 +74,7 @@ sure the certificate count is **two**.
/ certificate set name="ISRG-Root-X1" [ find where fingerprint="96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6" ];
/ certificate print count-only where fingerprint="67add1166b020ae61b8f5fc96813c04c2aa589960796865572a3c7e737613dfd" or fingerprint="96bcec06264976f37460779acf28c5a7cfe8a3c0aae11a8ffcee05c0bddf08c6";
-![screenshot: check certs](README.d/03-check-certs.png)
+![screenshot: check certs](README.d/03-check-certs.avif)
Always make sure there are no certificates installed you do not know or want!
@@ -86,7 +86,7 @@ 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 source=([ / tool fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit/routeros-scripts/plain/" . $Script) output=user as-value]->"data"); };
-![screenshot: import scripts](README.d/04-import-scripts.png)
+![screenshot: import scripts](README.d/04-import-scripts.avif)
The configuration needs to be tweaked for your needs. Edit
`global-config-overlay`, copy configuration from
@@ -95,21 +95,21 @@ Save changes and exit with `Ctrl-o`.
/ system script edit global-config-overlay source;
-![screenshot: edit global-config-overlay](README.d/05-edit-global-config-overlay.png)
+![screenshot: edit global-config-overlay](README.d/05-edit-global-config-overlay.avif)
And finally load configuration and functions and add the scheduler.
/ system script { run global-config; run global-functions; };
/ system scheduler add name="global-scripts" start-time=startup on-event="/ system script { run global-config; run global-functions; }";
-![screenshot: run and schedule scripts](README.d/06-run-and-schedule-scripts.png)
+![screenshot: run and schedule scripts](README.d/06-run-and-schedule-scripts.avif)
The last step is optional: Add this scheduler **only** if you want the scripts
to be updated automatically!
/ system scheduler add name="ScriptInstallUpdate" start-time=startup interval=1d on-event=":global ScriptInstallUpdate; \$ScriptInstallUpdate;";
-![screenshot: schedule update](README.d/07-schedule-update.png)
+![screenshot: schedule update](README.d/07-schedule-update.avif)
### Changes for RouterOS v6
@@ -145,7 +145,7 @@ everything is up-to-date it will not produce any output.
$ScriptInstallUpdate;
-![screenshot: update scripts](README.d/08-update-scripts.png)
+![screenshot: update scripts](README.d/08-update-scripts.avif)
Adding a script
---------------
@@ -155,7 +155,7 @@ a comma separated list of script names.
$ScriptInstallUpdate check-certificates,check-routeros-update;
-![screenshot: install scripts](README.d/09-install-scripts.png)
+![screenshot: install scripts](README.d/09-install-scripts.avif)
Scheduler and events
--------------------
@@ -167,7 +167,7 @@ miss an update.
/ system scheduler add name="check-routeros-update" interval=1h on-event="/ system script run check-routeros-update;";
-![screenshot: schedule script](README.d/10-schedule-script.png)
+![screenshot: schedule script](README.d/10-schedule-script.avif)
Some events can run a script. If you want your DHCP hostnames to be available
in DNS use `dhcp-to-dns` with the events from dhcp server. For a regular
@@ -177,7 +177,7 @@ cleanup add a scheduler entry.
/ ip dhcp-server set lease-script=lease-script [ find ];
/ system scheduler add name="dhcp-to-dns" interval=5m on-event="/ system script run dhcp-to-dns;";
-![screenshot: setup lease script](README.d/11-setup-lease-script.png)
+![screenshot: setup lease script](README.d/11-setup-lease-script.avif)
There's much more to explore... Have fun!