Compare commits

..

69 commits

Author SHA1 Message Date
Christian Hesse
55124e7796 Merge branch 'dhcp-to-dns' into next 2026-06-25 14:09:12 +02:00
Christian Hesse
68a79a222d bump required RouterOS version for all scripts 2026-06-25 14:09:12 +02:00
Christian Hesse
60508a73d5 dhcp-to-dns: allow to ignore for specific lease 2026-06-25 14:09:12 +02:00
Christian Hesse
0b18f57d61 global-functions: $NetMask6: use shift operator...
... and drop the workaround. This requires RouterOS 7.22beta3.
2026-06-25 14:09:12 +02:00
Christian Hesse
2a7fe3b32d update list of contributors 2026-06-25 14:09:12 +02:00
Christian Hesse
e290a8dcc7 Merge branch 'break-in-loop' into next 2026-06-25 14:09:12 +02:00
Łukasz Witkowski
933a929a92 dhcp-to-dns: allow to specify domain for CNAMEs...
... in network or lease.
2026-06-25 14:09:12 +02:00
Christian Hesse
7098817841 Merge branch 'continue-in-loop' into next 2026-06-25 14:09:12 +02:00
Christian Hesse
38e0dfbdee telegram-chat: fix indention 2026-06-25 14:09:12 +02:00
Łukasz Witkowski
00e056213c dhcp-to-dns: set $LeaseInfo 2026-06-25 14:09:12 +02:00
Christian Hesse
8719ed5452 Merge branch 'early-exit-with-exit' into next 2026-06-25 14:09:12 +02:00
Christian Hesse
d271cd8fe7 dhcp-to-dns: fix indention 2026-06-25 14:09:12 +02:00
Christian Hesse
acb308cd5f telegram-chat: use :break in loop 2026-06-25 14:09:12 +02:00
Łukasz Witkowski
f8f55b3e86 dhcp-to-dns: convert DNS names to lower case 2026-06-25 14:09:12 +02:00
Christian Hesse
bb3242c928 Merge branch 'compare-ids' into next 2026-06-25 14:09:12 +02:00
Christian Hesse
2db6abfbd7 global-functions: deprecate $ExitError 2026-06-25 14:09:12 +02:00
Christian Hesse
6e2ed27258 dhcp-to-dns: use another :continue in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
f0256c8a39 check-certificates: use :break in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
ca68db3d77 dhcp-to-dns: support to ignore networks
Closes: https://github.com/eworm-de/routeros-scripts/issues/119
2026-06-25 14:09:12 +02:00
Christian Hesse
7dbc330080 global-functions: deprecate $HexToNum 2026-06-25 14:09:12 +02:00
Christian Hesse
ef4bb0ce9c update-tunnelbroker: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
ea79801315 dhcp-to-dns: use :continue in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
b3d6ad5c5b log-forward: fix indention 2026-06-25 14:09:12 +02:00
Christian Hesse
1dc7dd0adf update-gre-address: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
d34de5212c telegram-chat: use :continue in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
eac4c710ea 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-06-25 14:09:12 +02:00
Christian Hesse
677bf836be telegram-chat: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
5b4a571d7d netwatch-dns: fix indention 2026-06-25 14:09:12 +02:00
Christian Hesse
d9bf0a5c59 sms-forward: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
46807c0b5a netwatch-dns: use :continue in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
d922e42fde sms-action: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
61ac1a2904 netwatch-dns: fix indention 2026-06-25 14:09:12 +02:00
Christian Hesse
1350150f64 ppp-on-up: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
070bae2d15 netwatch-dns: use :continue in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
0bdd61d941 packages-update: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
25cea063e3 global-functions: $ScriptInstallUpdate: fix indention 2026-06-25 14:09:12 +02:00
Christian Hesse
6aeb80ee2f ospf-to-leds: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
6cc36e71d5 global-functions: $ScriptInstallUpdate: use :continue in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
6b6b1c6f92 netwatch-notify: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
4c0bd98a3d global-functions: $CleanName: use :continue in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
2b30ebe57d netwatch-dns: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
9017e14a1d fw-addr-lists: fix indention 2026-06-25 14:09:12 +02:00
Christian Hesse
8f71d9c815 log-forward: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
c967dfb0d9 fw-addr-lists: use :continue in loop 2026-06-25 14:09:12 +02:00
Christian Hesse
e5f474b842 ipv6-update: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
c68b8e953e ipsec-to-dns: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
d5729baaf7 hotspot-to-wpa-cleanup: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
17168d4a01 hotspot-to-wpa: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
41fbc4a262 gps-track: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
96cb430209 fw-addr-lists: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
eb4fa64531 firmware-upgrade-reboot: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
c1dfcf2910 dhcpv6-client-lease: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
144a33703d dhcpv4-server-lease: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
64c736f8bf dhcp-to-dns: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
edd495ecdd dhcp-lease-comment: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
455968fcc6 daily-psk: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
45cedc6208 collect-wireless-mac: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
8a7e9a5874 check-routeros-update: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
bb8b1f9487 check-perpetual-license: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
6ee49ec124 check-lte-firmware-upgrade: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
ebf27c398a check-health: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
61e820ba78 check-certificates: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
3f4a6c6e1e certificate-renew-issued: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
f37fca7d96 capsman-rolling-upgrade: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
a870f3d4a2 capsman-download-packages: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
53be3f2e68 backup-upload: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
1190602d31 backup-partition: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
018d583f9d backup-email: early exit with :exit 2026-06-25 14:09:12 +02:00
Christian Hesse
b1b55898a9 backup-cloud: early exit with :exit 2026-06-25 14:09:12 +02:00

View file

@ -1262,16 +1262,12 @@
:local DeviceMode [ /system/device-mode/get ]; :local DeviceMode [ /system/device-mode/get ];
:local CheckSums ({}); :local CheckSums ({});
:if ([ :pick $ScriptUpdatesBaseUrl 0 21 ] = "https://rsc.eworm.de/") do={ :do {
:onerror Err { :local Url ($ScriptUpdatesBaseUrl . "checksums.json" . $ScriptUpdatesUrlSuffix);
:local Url ($ScriptUpdatesBaseUrl . "checksums.json" . $ScriptUpdatesUrlSuffix); $LogPrint debug $0 ("Fetching checksums from url: " . $Url);
$LogPrint debug $0 ("Fetching checksums from url: " . $Url); :set CheckSums [ :deserialize from=json ([ /tool/fetch check-certificate=yes-without-crl \
:set CheckSums [ :deserialize from=json ([ /tool/fetch check-certificate=yes-without-crl \ http-header-field=({ [ $FetchUserAgentStr $0 ] }) $Url output=user as-value ]->"data") ];
http-header-field=({ [ $FetchUserAgentStr $0 ] }) $Url output=user as-value ]->"data") ]; } on-error={ }
} do={
$LogPrint warning $0 ("Failed downloading checksums: " . $Err);
}
}
:foreach Script in=[ /system/script/find where source~"^#!rsc by RouterOS\r?\n" ] do={ :foreach Script in=[ /system/script/find where source~"^#!rsc by RouterOS\r?\n" ] do={
:local ScriptVal [ /system/script/get $Script ]; :local ScriptVal [ /system/script/get $Script ];