Compare commits

..

70 commits

Author SHA1 Message Date
Christian Hesse
4026e31efb Merge branch 'dhcp-to-dns' into next 2026-07-15 13:34:59 +02:00
Christian Hesse
44db7e9447 bump required RouterOS version for all scripts 2026-07-15 13:34:59 +02:00
Christian Hesse
9ea9a53dc1 dhcp-to-dns: allow to ignore for specific lease 2026-07-15 13:34:59 +02:00
Christian Hesse
1040cffa43 global-functions: $NetMask6: use shift operator...
... and drop the workaround. This requires RouterOS 7.22beta3.
2026-07-15 13:34:59 +02:00
Christian Hesse
1c85f37e2a update list of contributors 2026-07-15 13:34:59 +02:00
Christian Hesse
3b5073b1bd Merge branch 'break-in-loop' into next 2026-07-15 13:34:59 +02:00
Łukasz Witkowski
9d0d7cf8a3 dhcp-to-dns: allow to specify domain for CNAMEs...
... in network or lease.
2026-07-15 13:34:59 +02:00
Christian Hesse
2c1f2beb49 Merge branch 'continue-in-loop' into next 2026-07-15 13:34:59 +02:00
Christian Hesse
9496a0cb52 telegram-chat: fix indention 2026-07-15 13:34:59 +02:00
Łukasz Witkowski
84aba652d1 dhcp-to-dns: set $LeaseInfo 2026-07-15 13:34:59 +02:00
Christian Hesse
514e8dd283 Merge branch 'early-exit-with-exit' into next 2026-07-15 13:34:59 +02:00
Christian Hesse
35080e0bdf dhcp-to-dns: fix indention 2026-07-15 13:34:59 +02:00
Christian Hesse
69cc777a45 telegram-chat: use :break in loop 2026-07-15 13:34:59 +02:00
Łukasz Witkowski
7931a8df00 dhcp-to-dns: convert DNS names to lower case 2026-07-15 13:34:59 +02:00
Christian Hesse
54b74b39d6 Merge branch 'compare-ids' into next 2026-07-15 13:34:59 +02:00
Christian Hesse
33d2bbdd5f global-functions: deprecate $ExitError 2026-07-15 13:34:59 +02:00
Christian Hesse
94b691a517 dhcp-to-dns: use another :continue in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
20e0f4c6eb check-certificates: use :break in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
7da1bd39c6 dhcp-to-dns: support to ignore networks
Closes: https://github.com/eworm-de/routeros-scripts/issues/119
2026-07-15 13:34:59 +02:00
Christian Hesse
c119b051b7 global-functions: deprecate $HexToNum 2026-07-15 13:34:59 +02:00
Christian Hesse
799b72f5d4 update-tunnelbroker: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
44b9afe9b9 dhcp-to-dns: use :continue in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
0ee555cdf4 log-forward: fix indention 2026-07-15 13:34:59 +02:00
Christian Hesse
45afc3fc7b update-gre-address: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
d1a7a3112b telegram-chat: use :continue in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
b7aa4d10e9 log-forward: use comparison for ids
This was introduced with RouterOS 7.22beta1.

Initializing $LogForwardLast with boolean value looks odd, but this is
required to match the very first message.
2026-07-15 13:34:59 +02:00
Christian Hesse
c561189cea telegram-chat: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
12967c1491 netwatch-dns: fix indention 2026-07-15 13:34:59 +02:00
Christian Hesse
ed11c87872 sms-forward: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
a0b4583f31 netwatch-dns: use :continue in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
57951dce32 sms-action: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
94d3b4c54d netwatch-dns: fix indention 2026-07-15 13:34:59 +02:00
Christian Hesse
79110df6fa ppp-on-up: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
d1ab96caa6 netwatch-dns: use :continue in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
538a52be9c packages-update: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
4288882f69 global-functions: $ScriptInstallUpdate: fix indention 2026-07-15 13:34:59 +02:00
Christian Hesse
9431437fa8 ospf-to-leds: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
3f8f7a3951 global-functions: $ScriptInstallUpdate: use :continue in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
31bf3da567 netwatch-notify: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
f60d50b620 global-functions: $CleanName: use :continue in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
c36b909e65 netwatch-dns: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
c02b9e6d6d fw-addr-lists: fix indention 2026-07-15 13:34:59 +02:00
Christian Hesse
9b88ffc290 log-forward: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
b1cb6ebfca fw-addr-lists: use :continue in loop 2026-07-15 13:34:59 +02:00
Christian Hesse
6ffbe4667d ipv6-update: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
b17a2d6184 ipsec-to-dns: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
83893f7898 hotspot-to-wpa-cleanup: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
de59198763 hotspot-to-wpa: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
32d0c23df1 gps-track: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
c2f241ebf9 fw-addr-lists: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
2677fed80f firmware-upgrade-reboot: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
7f2d9780da dhcpv6-client-lease: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
cceda45d4b dhcpv4-server-lease: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
cb78380b82 dhcp-to-dns: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
51ff4204ea dhcp-lease-comment: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
c96f0d1ed2 daily-psk: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
8bd3fea5f8 collect-wireless-mac: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
77532e80d0 check-routeros-update: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
5c89f6c736 check-perpetual-license: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
c89fb2513a check-lte-firmware-upgrade: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
d4edc4fa93 check-health: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
257d9e7f2d check-certificates: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
e7075c428c certificate-renew-issued: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
ae94f436e0 capsman-rolling-upgrade: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
c2fbfd9523 capsman-download-packages: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
927c36b420 backup-upload: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
653b4687a8 backup-partition: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
611ceef233 backup-email: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
97b85d8f06 backup-cloud: early exit with :exit 2026-07-15 13:34:59 +02:00
Christian Hesse
532fb45602 global-functions: $ScriptInstallUpdate: allow to force checksums
This is a follow-up on aa14c26488 and
allows to use checksums for custom hosting.
2026-07-15 13:33:42 +02:00

View file

@ -1226,6 +1226,7 @@
:global IDonate;
:global NoNewsAndChangesNotification;
:global ScriptUpdatesBaseUrl;
:global ScriptUpdatesCheckSums;
:global ScriptUpdatesCRLF;
:global ScriptUpdatesUrlSuffix;
@ -1262,7 +1263,8 @@
:local DeviceMode [ /system/device-mode/get ];
:local CheckSums ({});
:if ([ :pick $ScriptUpdatesBaseUrl 0 21 ] = "https://rsc.eworm.de/") do={
:if ([ :pick $ScriptUpdatesBaseUrl 0 21 ] = "https://rsc.eworm.de/" || \
$ScriptUpdatesCheckSums = true) do={
:onerror Err {
:local Url ($ScriptUpdatesBaseUrl . "checksums.json" . $ScriptUpdatesUrlSuffix);
$LogPrint debug $0 ("Fetching checksums from url: " . $Url);