Commit graph

3615 commits

Author SHA1 Message Date
Christian Hesse
a5b02f27b0 dhcp-to-dns: support to ignore networks
Closes: https://github.com/eworm-de/routeros-scripts/issues/119
2026-07-17 11:48:22 +02:00
Christian Hesse
3e903b479f bump required RouterOS version for all scripts 2026-07-17 11:48:22 +02:00
Christian Hesse
02a87dae3c global-functions: $NetMask6: use shift operator...
... and drop the workaround. This requires RouterOS 7.22beta3.
2026-07-17 11:48:22 +02:00
Christian Hesse
d54af97513 Merge branch 'break-in-loop' into next 2026-07-17 11:48:22 +02:00
Christian Hesse
6ffb08066f Merge branch 'continue-in-loop' into next 2026-07-17 11:48:22 +02:00
Christian Hesse
2d04d78b05 telegram-chat: fix indention 2026-07-17 11:48:22 +02:00
Christian Hesse
0a6cad5b2b Merge branch 'early-exit-with-exit' into next 2026-07-17 11:48:22 +02:00
Christian Hesse
3315ca52c6 dhcp-to-dns: fix indention 2026-07-17 11:48:22 +02:00
Christian Hesse
7eb3c21cfa telegram-chat: use :break in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
c3fc2bf22c Merge branch 'compare-ids' into next 2026-07-17 11:48:22 +02:00
Christian Hesse
6bc651d51c global-functions: deprecate $ExitError 2026-07-17 11:48:22 +02:00
Christian Hesse
a0d8f280d9 dhcp-to-dns: use another :continue in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
a36a17b444 check-certificates: use :break in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
a8ba5ee13b Merge branch 'mode-button' into next 2026-07-17 11:48:22 +02:00
Christian Hesse
539fcc3844 global-functions: deprecate $HexToNum 2026-07-17 11:48:22 +02:00
Christian Hesse
f5a814df60 update-tunnelbroker: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
9559b2e21f dhcp-to-dns: use :continue in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
16cfe335c2 announce the change on mode-button, run migration 2026-07-17 11:48:22 +02:00
Christian Hesse
6cfde9def4 log-forward: fix indention 2026-07-17 11:48:22 +02:00
Christian Hesse
db93e792e6 update-gre-address: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
2289d69b01 telegram-chat: use :continue in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
68dfe26198 mode-button: drop all global variables
With RouterOS 7.24 (actually 7.24beta1 I think) the mode, reset and wps
button scripts are run with limited policy. This causes global variables
not being available... So let's drop them here.

This is kind of inconvenient, but we can live with it. The second script
'mode-button-scheduler' is run from scheduler and does not suffer that
limitation.
2026-07-17 11:48:22 +02:00
Christian Hesse
57c954af1d 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-17 11:48:22 +02:00
Christian Hesse
f0cc45d2ab telegram-chat: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
1be42fc35b netwatch-dns: fix indention 2026-07-17 11:48:22 +02:00
Christian Hesse
198b088faa mode-button{,-scheduler}: store to and get count from scheduler's comment 2026-07-17 11:48:22 +02:00
Christian Hesse
dd51fd33e0 sms-forward: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
f1910d0832 netwatch-dns: use :continue in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
9d0ad044a3 sms-action: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
4da0a30210 netwatch-dns: fix indention 2026-07-17 11:48:22 +02:00
Christian Hesse
71a4beabac ppp-on-up: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
83e71ffd5d netwatch-dns: use :continue in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
57f713477b packages-update: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
e92d79b2b7 global-functions: $ScriptInstallUpdate: fix indention 2026-07-17 11:48:22 +02:00
Christian Hesse
389009453e ospf-to-leds: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
bcb1c77b2f global-functions: $ScriptInstallUpdate: use :continue in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
d0b8e8f808 netwatch-notify: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
4c14186e18 global-functions: $CleanName: use :continue in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
4ba4b6d16f netwatch-dns: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
381bb0038a fw-addr-lists: fix indention 2026-07-17 11:48:22 +02:00
Christian Hesse
363adaaa47 mode-button-scheduler: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
b407b08254 fw-addr-lists: use :continue in loop 2026-07-17 11:48:22 +02:00
Christian Hesse
a88eea6e64 log-forward: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
53d17d2981 ipv6-update: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
d4de082771 ipsec-to-dns: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
1b3ce0f834 hotspot-to-wpa-cleanup: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
ceafb0ed04 hotspot-to-wpa: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
add84f32ff gps-track: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
b065a314af fw-addr-lists: early exit with :exit 2026-07-17 11:48:22 +02:00
Christian Hesse
942c50aff8 firmware-upgrade-reboot: early exit with :exit 2026-07-17 11:48:22 +02:00