Compare commits

..

84 commits

Author SHA1 Message Date
Christian Hesse
89d0043a97 Merge branch 'continue-in-loop' into next 2026-01-20 16:22:21 +01:00
Christian Hesse
f9fac0f82d Merge branch 'early-exit-with-exit' into next 2026-01-20 16:22:21 +01:00
Christian Hesse
c29994d336 check-certificates: use :continue in loop 2026-01-20 16:22:21 +01:00
Christian Hesse
325f9400dd Merge branch 'compare-ids' into next 2026-01-20 16:22:21 +01:00
Christian Hesse
9aad83e44a global-functions: deprecate $ExitError 2026-01-20 16:22:21 +01:00
Christian Hesse
8ced10bb38 global-functions: $ScriptInstallUpdate: fix indention 2026-01-20 16:22:21 +01:00
Christian Hesse
1fd54481fc mod/notification-email: use errors from command...
... instead of reading status from properties. This was introduced in
RouterOS 7.21beta2 (and we bump to 7.21 instead).
2026-01-20 16:22:21 +01:00
Christian Hesse
f782713d48 global-functions: deprecate $HexToNum 2026-01-20 16:22:21 +01:00
Christian Hesse
0693d5b26c update-tunnelbroker: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
8239094c57 global-functions: $ScriptInstallUpdate: use :continue in loop 2026-01-20 16:22:21 +01:00
Christian Hesse
45d61e417f mod/ssh-keys-import: drop old property
The property name changed in RouterOS 7.21beta2, so bump required
version to 7.21.
2026-01-20 16:22:21 +01:00
Christian Hesse
52f3ebbe57 log-forward: fix indention 2026-01-20 16:22:21 +01:00
Christian Hesse
7de5b0d4c6 update-gre-address: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
00d89784b5 fw-addr-lists: fix indention 2026-01-20 16:22:21 +01:00
Christian Hesse
35577908d9 Merge branch 'certificate-builtin' into next 2026-01-20 16:22:21 +01:00
Christian Hesse
77383d0920 log-forward: use comparison for ids
This was introduced with RouterOS 7.22beta1.

Initializing $LogForwardLast with boolean value looks odd, but this is
reuqired to match the very first message.
2026-01-20 16:22:21 +01:00
Christian Hesse
40de874425 telegram-chat: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
04679f2881 fw-addr-lists: use :continue in loop 2026-01-20 16:22:21 +01:00
Christian Hesse
9eae2fafe2 Merge branch 'CommitBrief' into next 2026-01-20 16:22:21 +01:00
Christian Hesse
63e9ca26e7 bump required RouterOS version for all scripts 2026-01-20 16:22:21 +01:00
Christian Hesse
883f2f9b6f sms-forward: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
f940f2d3f5 telegram-chat: use :continue in loop 2026-01-20 16:22:21 +01:00
Christian Hesse
fbe7b8e4bc Merge branch 'ExitOnError' into next 2026-01-20 16:22:21 +01:00
Christian Hesse
b667ce8bed README: update screenshots 2026-01-20 16:22:21 +01:00
Christian Hesse
0a83d2c325 global-functions: $CertificateAvailable: drop the compatibility workaround...
... and make it depend in RouterOS 7.19 and its builtin certificates.
2026-01-20 16:22:21 +01:00
Christian Hesse
4f5fa14262 sms-action: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
fe9d0a0bb4 mode-button: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
7054238b8c global-functions: $ScriptInstallUpdate: drop output on commit...
... now that we have it on loading global functions.
2026-01-20 16:22:21 +01:00
Christian Hesse
e8468d4f0a INITIAL-COMMANDS: drop the compatibility workaround...
... and make it depend in RouterOS 7.19 and its builtin certificates.
2026-01-20 16:22:21 +01:00
Christian Hesse
7a2c64c4d7 ppp-on-up: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
5ed1c3db66 mod/ssh-keys-import: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
c5ef71eb4a global-functions: give commit info when laoding 2026-01-20 16:22:21 +01:00
Christian Hesse
a35c943c32 check-certificates: drop the compatibility workaround...
... and make it depend in RouterOS 7.19 and its builtin certificates.
2026-01-20 16:22:21 +01:00
Christian Hesse
d237f031a1 packages-update: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
87f82d736f mod/scriptrunonce: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
542a018a15 global-functions: $ScriptInstallUpdate: use $CommitBrief 2026-01-20 16:22:21 +01:00
Christian Hesse
d6ec51f625 ospf-to-leds: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
d1c02fe19b mod/notification-telegram: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
f7cd7d7729 global-functions: $FetchUserAgentStr: user $CommitBrief 2026-01-20 16:22:21 +01:00
Christian Hesse
3da534803b netwatch-notify: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
d00c500609 mod/notification-ntfy: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
edd184db8f global-functions: $DeviceInfo: use $CommitBrief 2026-01-20 16:22:21 +01:00
Christian Hesse
6b335cef37 netwatch-dns: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
98178d1562 mod/notification-matrix: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
8bc9e23bd7 global-functions: introduce $CommitBrief 2026-01-20 16:22:21 +01:00
Christian Hesse
50645538d6 log-forward: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
faad9c5b2a mod/notification-gotify: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
ecceadbdfb lease-script: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
4841c2c58d mod/notification-email: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
86958d13c7 ipv6-update: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
da516a5102 mod/ipcalc: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
184ed737b4 ipsec-to-dns: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
9ae01995d7 mod/inspectvar: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
a459a37dd1 hotspot-to-wpa-cleanup: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
5d0760e422 mod/bridge-port-vlan: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
62fe6dc03e hotspot-to-wpa: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
5cc9b8c775 mod/bridge-port-to: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
56d4c83e36 gps-track: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
19dcddf406 accesslist-duplicates: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
2b384cb26f fw-addr-lists: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
5dcd63eed0 global-functions: $SendNotification: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
05114d5a56 firmware-upgrade-reboot: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
7bb6a3f843 global-functions: $ScriptInstallUpdate: use $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
f9478f69a7 dhcp-to-dns: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
843ec3030c global-functions: make $ExitError a wrapper for $ExitOnError 2026-01-20 16:22:21 +01:00
Christian Hesse
b4cef9d59b dhcp-lease-comment: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
bbf2f5abbf global-functions: introduce $ExitOnError
This is just like $ExitError, but first parameter is dropped. We will
not need it now that we can exit a script with :exit.
2026-01-20 16:22:21 +01:00
Christian Hesse
6caf72f497 daily-psk: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
663e98eed6 collect-wireless-mac: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
08ee08fbe0 check-routeros-update: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
a082f6c2c8 check-perpetual-license: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
4d4fa0da0d check-lte-firmware-upgrade: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
412551656f check-health: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
d716db63e9 check-certificates: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
470ae343b4 certificate-renew-issued: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
2555969742 capsman-rolling-upgrade: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
4dab8e7444 capsman-download-packages: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
15e21e0fbf backup-upload: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
edce532174 backup-partition: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
0fa8ba6d5b backup-email: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
ff0cb67286 backup-cloud: early exit with :exit 2026-01-20 16:22:21 +01:00
Christian Hesse
9347063647 global-functions: enable scheduler if disabled 2026-01-20 16:21:58 +01:00
Christian Hesse
16976b1d78 global-functions: simplify scheduler fix 2026-01-20 16:20:55 +01:00
Christian Hesse
74be3eae5d global-functions: make the scheduler fix a block 2026-01-20 16:19:54 +01:00

View file

@ -57,12 +57,11 @@ temporarily.
#### Prerequisite configuration
The
Starting with RouterOS 7.17 the
[device-mode ↗️](https://help.mikrotik.com/docs/spaces/ROS/pages/93749258/Device-mode)
is a mechanism to to lock down a device for security reasons, it gives
fine-grained control over what features are available. You need to enable
`scheduler` and `fetch` at least, specific scripts may require additional
features.
has been extended to give more fine-grained control over what features are
available. You need to enable `scheduler` and `fetch` at least, specific
scripts may require additional features.
### Hardware