Age | Commit message (Expand) | Author | Files | Lines |
6 days | mode-button: support led toggle without extra script | Christian Hesse | 1 | -1/+1 |
6 days | leds-toggle-mode: toggle in one call...•••... and drop the condition.
| Christian Hesse | 1 | -5/+1 |
6 days | mod/notification-email: increase retry interval on failure | Christian Hesse | 1 | -2/+4 |
6 days | mod/notification-email: drop useless safeguard•••Guess it was useful back in the day. Now the function exits early if the
queue is empty... So this can never be zero.
| Christian Hesse | 1 | -1/+1 |
14 days | Merge branch 'func-exit-error' into next | Christian Hesse | 12 | -39/+77 |
14 days | mode-button: $ModeButtonScheduler: explicitly name the variable | Christian Hesse | 1 | -4/+8 |
14 days | mod/ssh-keys-import: $SSHKeysImportFile: use $ExitError to indicate unintenti... | Christian Hesse | 1 | -2/+4 |
14 days | check-routeros-update: pass script name to local function | Christian Hesse | 1 | -6/+8 |
14 days | mod/ssh-keys-import: $SSHKeysImport: use $ExitError to indicate unintentional... | Christian Hesse | 1 | -2/+4 |
14 days | Merge branch 'exit-error' into next | Christian Hesse | 57 | -57/+359 |
14 days | mod/scriptrunonce: $ScriptRunOnce: use $ExitError to indicate unintentional e... | Christian Hesse | 1 | -2/+4 |
14 days | global-functions: $FetchHuge: passing boolean to function is still broken... ... | Christian Hesse | 1 | -4/+4 |
14 days | update-tunnelbroker: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
14 days | mod/notification-telegram: $SendTelegram: use $ExitError to indicate unintent... | Christian Hesse | 1 | -2/+4 |
14 days | update-gre-address: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | mod/notification-telegram: $FlushTelegramQueue: use $ExitError to indicate un... | Christian Hesse | 1 | -2/+4 |
14 days | telegram-chat: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+8 |
14 days | mod/notification-ntfy: $SendNtfy: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -2/+4 |
14 days | sms-forward: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
14 days | mod/notification-ntfy: $FlushNtfyQueue: use $ExitError to indicate unintentio... | Christian Hesse | 1 | -2/+4 |
14 days | sms-action: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | mod/notification-matrix: $SendMatrix: use $ExitError to indicate unintentiona... | Christian Hesse | 1 | -2/+4 |
14 days | ppp-on-up: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | mod/notification-matrix: $FlushMatrixQueue: use $ExitError to indicate uninte... | Christian Hesse | 1 | -2/+4 |
14 days | packages-update: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+13 |
14 days | mod/notification-email: $SendEMail: use $ExitError to indicate unintentional ... | Christian Hesse | 1 | -2/+4 |
14 days | ospf-to-leds: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | mod/notification-email: $FlushEmailQueue: use $ExitError to indicate unintent... | Christian Hesse | 1 | -2/+4 |
14 days | netwatch-notify: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | mod/ipcalc: $IPCalc: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -2/+4 |
14 days | netwatch-dns: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+8 |
14 days | mod/inspectvar: $InspectVar: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -2/+4 |
14 days | mode-button: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+4 |
14 days | mod/bridge-port-vlan: $BridgePortVlan: use $ExitError to indicate unintention... | Christian Hesse | 1 | -2/+4 |
14 days | log-forward: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+6 |
14 days | mod/bridge-port-to: $BridgePortTo: use $ExitError to indicate unintentional e... | Christian Hesse | 1 | -2/+4 |
14 days | lease-script: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
14 days | mode-button: $ModeButtonScheduler: use $ExitError to indicate unintentional e... | Christian Hesse | 1 | -2/+4 |
14 days | ipv6-update: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
14 days | global-functions: $SendNotification: use $ExitError to indicate unintentional... | Christian Hesse | 1 | -2/+4 |
14 days | ipsec-to-dns: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | global-functions: $ScriptInstallUpdate: use $ExitError to indicate unintentio... | Christian Hesse | 1 | -2/+4 |
14 days | hotspot-to-wpa: use $ExitError to indicate unintentional error | Christian Hesse | 3 | -3/+21 |
14 days | global-functions: $ExitError: give matching message for functions | Christian Hesse | 1 | -3/+5 |
14 days | hotspot-to-wpa-cleanup: use $ExitError to indicate unintentional error | Christian Hesse | 3 | -3/+15 |
14 days | gps-track: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | fw-addr-lists: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | firmware-upgrade-reboot: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
14 days | dhcp-to-dns: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | dhcp-lease-comment: use $ExitError to indicate unintentional error | Christian Hesse | 4 | -4/+20 |
14 days | daily-psk.capsman: use $ExitError to indicate unintentional error | Christian Hesse | 4 | -4/+20 |
14 days | collect-wireless-mac: use $ExitError to indicate unintentional error | Christian Hesse | 4 | -4/+20 |
14 days | check-routeros-update: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -2/+25 |
14 days | check-lte-firmware-upgrade: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | check-health: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+6 |
14 days | check-certificates: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | certificate-renew-issued: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+5 |
14 days | capsman-rolling-upgrade: use $ExitError to indicate unintentional error | Christian Hesse | 3 | -3/+15 |
14 days | capsman-download-packages: use $ExitError to indicate unintentional error | Christian Hesse | 3 | -3/+21 |
14 days | backup-upload: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+7 |
14 days | backup-partition: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+11 |
14 days | accesslist-duplicates: use $ExitError to indicate unintentional error | Christian Hesse | 4 | -4/+16 |
14 days | backup-email: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+9 |
14 days | backup-cloud: use $ExitError to indicate unintentional error | Christian Hesse | 1 | -1/+6 |
14 days | global-functions: $ExitError: give script name in message | Christian Hesse | 1 | -1/+1 |
14 days | global-functions: introduce $ExitError...•••... as a simple macro to print error message on unintentional error.
| Christian Hesse | 1 | -0/+13 |
2024-11-27 | netwatch-dns: explicitly expect type=A...•••... which is provided since 7.16beta7 (but require next stable release
7.16 as that is available meanwhile).
routeros-7.16-7 | Christian Hesse | 2 | -3/+3 |
2024-11-27 | dhcp-to-dns: explicitly expect type=A...•••... which is provided since 7.16beta7 (but require next stable release
7.16 as that is available meanwhile).
I had this on my wishlist for a long time, and opened an issue in
March 2023 about it (SUP-111312).
Back then I changed the code to support both, see commit
779b3b8872b23b784c331d7a454c86439046f5d3.
routeros-7.16-6 | Christian Hesse | 2 | -5/+5 |
2024-11-27 | mod/ssh-keys-import: require RouterOS 7.16•••Actually the requirement bumped with the change in commits:
* 9c945b1a3283bb352707c69630c579cf82484dcb
mod/ssh-keys-import: $SSHKeysImportFile: simplify looping lines
* 1f526b356121749991fee69cee5a6c728855c8f2
mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`
routeros-7.16-5 | Christian Hesse | 2 | -2/+2 |
2024-11-27 | fw-addr-lists: require RouterOS 7.16•••Actually the requirement bumped with the change in commit:
* 084c246ef0cab329fe981732089277fa8398800b
fw-addr-lists: simplify looping lines
routeros-7.16-4 | Christian Hesse | 2 | -2/+2 |
2024-11-22 | fw-addr-lists: spamhaus.org returned to 'GTS Root R4' | Christian Hesse | 2 | -3/+3 |
2024-11-15 | mode-button: do not act on disabled LED | Christian Hesse | 1 | -1/+2 |
2024-11-15 | mode-button: catch runtime errors in executed code | Christian Hesse | 1 | -1/+5 |
2024-11-15 | mode-button: fix the caller parameter to $LogPrint•••This is inside a function, so use just $0 here.
| Christian Hesse | 1 | -3/+3 |
2024-11-14 | packages-update: drop check for device-mode downgrade...•••... as things have been revised and this specific setting was removed.
routeros-7.17beta5-1 | Christian Hesse | 1 | -6/+0 |
2024-11-13 | hotspot-to-wpa-cleanup: revert display of timeout value...•••... as the timeout is a time value, and showing "4w00:00:00" (with lots
of zeros) is not any better. 😜
This reverts commit f1533b8962bc67d17e9f6b5666ae51ee4d1e1ff4.
| Christian Hesse | 3 | -3/+3 |
2024-11-13 | hotspot-to-wpa-cleanup: prepare real timeout value in variable...•••... to make sure it is not re-calculated for every single lease.
| Christian Hesse | 3 | -6/+6 |
2024-11-12 | hotspot-to-wpa-cleanup: clean up daily only | Christian Hesse | 3 | -3/+6 |
2024-11-12 | hotspot-to-wpa-cleanup: use the timeout in message...•••... not the actual value.
| Christian Hesse | 3 | -3/+3 |
2024-11-12 | check-routeros-update: always exit early if up to date...•••... and just make the output and log dependent on terminal.
| Christian Hesse | 1 | -2/+4 |
2024-11-12 | check-routeros-update: make invalid version string a warning | Christian Hesse | 1 | -1/+1 |
2024-11-12 | check-routeros-update: add specific message for empty version string | Christian Hesse | 1 | -0/+5 |
2024-11-12 | check-routeros-update: replace hard-coded version | Christian Hesse | 1 | -1/+1 |
2024-11-08 | mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`routeros-7.16-3 | Christian Hesse | 1 | -2/+1 |
2024-11-08 | mod/ssh-keys-import: $SSHKeysImportFile: let `:deserialize` split the fields | Christian Hesse | 1 | -6/+3 |
2024-11-08 | mod/ssh-keys-import: $SSHKeysImportFile: simplify looping linesrouteros-7.16-2 | Christian Hesse | 1 | -5/+4 |
2024-11-06 | fw-addr-lists: simplify looping lines•••With `:deserialize` the **record** separator is always a new line. The
property `delimiter=` is a **field** reparator, so you can parse a lines
into an array.
We do not want (or need) that, so use new line as field separator. This
will result in an array with just one element, and we use that.
Also convert the data to line feed explicitly, just to be sure.
routeros-7.16-1 | Christian Hesse | 1 | -4/+3 |
2024-11-02 | doc/netwatch-dns: link to 'certificate name from browser' | Christian Hesse | 2 | -2/+4 |
2024-11-02 | doc/fw-addr-lists: link to 'certificate name from browser' | Christian Hesse | 2 | -3/+8 |
2024-11-02 | doc/mod/notification-ntfy: link to 'certificate name from browser' | Christian Hesse | 2 | -0/+6 |
2024-11-02 | doc/mod/notification-matrix: link to 'certificate name from browser' | Christian Hesse | 2 | -0/+8 |
2024-11-02 | introduce CERTIFICATES, guide to find root certificate | Christian Hesse | 5 | -0/+74 |
2024-10-30 | global-functions: $CertificateAvailable: fail without CommonName | Christian Hesse | 1 | -0/+5 |
2024-10-29 | certs: check cert for matrix.org | Christian Hesse | 1 | -0/+1 |
2024-10-29 | doc/mod/notification-matrix: better document certificate import | Christian Hesse | 1 | -0/+7 |
2024-10-25 | ipv6-update: create a dynamic address-list entry only•••This should make sure that the script runs once after reboot, even if
the prefix does not change.
An existing static entry needs to be removed to make this work!
https://github.com/eworm-de/routeros-scripts/issues/85
| Christian Hesse | 2 | -6/+10 |
2024-10-23 | ipv6-update: ignore if address was acquired•••https://github.com/eworm-de/routeros-scripts/issues/85
| Christian Hesse | 1 | -0/+6 |
2024-10-23 | fw-addr-lists: spamhaus.org requires 'ISRG Root X1' now | Christian Hesse | 2 | -3/+3 |
2024-10-23 | packages-update: check for explicit state...•••... as all device-mode properties are given since RouterOS 7.14beta4.
Let's assume we do not have to care about RouterOS 7.14beta2 any more...
As older versions will not match the check we can now merge right away.
routeros-7.17beta4-2 | Christian Hesse | 1 | -3/+1 |
2024-10-22 | backup-partition: drop warning on lock in device-mode•••... as switching partitions is possible again in RouterOS 7.17beta4.
routeros-7.17beta4-1 | Christian Hesse | 1 | -8/+0 |