Age | Commit message (Collapse) | Author | Files | Lines |
|
Well, turns out that waiting for existence of a file is not sufficient.
Chances are that a file is available just partly, so wait until the size
no longer changes... Let's hope that works as expected. 🤞
|
|
|
|
... and drop the condition.
|
|
|
|
Guess it was useful back in the day. Now the function exits early if the
queue is empty... So this can never be zero.
|
|
|
|
|
|
unintentional error
|
|
|
|
unintentional error
|
|
|
|
error
|
|
🤨
|
|
|
|
unintentional error
|
|
|
|
unintentional error
|
|
|
|
|
|
|
|
unintentional error
|
|
|
|
unintentional error
|
|
|
|
unintentional error
|
|
|
|
error
|
|
|
|
unintentional error
|
|
|
|
|
|
|
|
|
|
|
|
unintentional error
|
|
|
|
error
|
|
|
|
error
|
|
|
|
unintentional error
|
|
|
|
unintentional error
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... as a simple macro to print error message on unintentional error.
|
|
... which is provided since 7.16beta7 (but require next stable release
7.16 as that is available meanwhile).
|
|
... 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.
|
|
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`
|
|
Actually the requirement bumped with the change in commit:
* 084c246ef0cab329fe981732089277fa8398800b
fw-addr-lists: simplify looping lines
|
|
|
|
|
|
|
|
This is inside a function, so use just $0 here.
|
|
... as things have been revised and this specific setting was removed.
|
|
... as the timeout is a time value, and showing "4w00:00:00" (with lots
of zeros) is not any better. 😜
This reverts commit f1533b8962bc67d17e9f6b5666ae51ee4d1e1ff4.
|
|
... to make sure it is not re-calculated for every single lease.
|
|
|
|
... not the actual value.
|
|
... and just make the output and log dependent on terminal.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
https://github.com/eworm-de/routeros-scripts/issues/85
|
|
|
|
... 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.
|