Compare commits

..

21 commits

Author SHA1 Message Date
Christian Hesse
4b9bfac281 update list of contributors 2025-06-03 11:06:59 +02:00
Christian Hesse
5140135c95 check-routeros-update: remove a stale scheduler 2025-06-03 11:06:59 +02:00
Christian Hesse
253ecfef88 packages-update: support deferred reboot with longer interval 2025-06-03 11:06:59 +02:00
Christian Hesse
c22fbaac69 Merge branch 'file' into next 2025-06-03 11:06:59 +02:00
Christian Hesse
2a44fa6853 capsman-download-packages: adopt new functionality from file menu 2025-06-03 11:06:59 +02:00
Christian Hesse
7410b366d4 capsman-download-packages: use $FileGet 2025-06-03 11:06:59 +02:00
Christian Hesse
2de98789a2 telegram-chat: use $FileExists 2025-06-03 11:06:59 +02:00
Christian Hesse
11e2aef5d8 mod/ssh-keys-import: use $FileExists 2025-06-03 11:06:59 +02:00
Christian Hesse
9efc5047d0 mod/notification-email: use $RmFile 2025-06-03 11:06:59 +02:00
Christian Hesse
0014674260 mod/notification-email: use $FileExists 2025-06-03 11:06:59 +02:00
Christian Hesse
479638688d backup-email: add a comment why files are not removed 2025-06-03 11:06:59 +02:00
Christian Hesse
4e8f9119e9 backup-email: check for .conf file 2025-06-03 11:06:59 +02:00
Christian Hesse
42213493e7 backup-email: use :retry and $FileExists 2025-06-03 11:06:59 +02:00
Christian Hesse
7057fec1d9 global-functions: $DownloadPackage: use $FileExists 2025-06-03 11:06:59 +02:00
Christian Hesse
5f03239291 global-functions: introduce $FileExists 2025-06-03 11:06:59 +02:00
Christian Hesse
b5e6b97c43 global-functions: $WaitForFile: use :retry for simplification, ...
... and to work around restrictions in new file handling
2025-06-03 11:06:59 +02:00
Christian Hesse
4a49a9724c global-functions: $WaitForFile: drop the workaround
This was fixed in RouterOS 7.18rc1, so should be ok to remove now.
2025-06-03 11:06:59 +02:00
Christian Hesse
70111614ea global-functions: $RmFile: use $FileGet ...
... to work around restrictions in new file handling
2025-06-03 11:06:59 +02:00
Christian Hesse
ffeb4940e1 global-functions: $RmDir: use $FileGet ...
... to work around restrictions in new file handling
2025-06-03 11:06:59 +02:00
Christian Hesse
dcf1e5b37e global-functions: $MkDir: use $FileGet ...
... to work around restrictions in new file handling
2025-06-03 11:06:59 +02:00
Christian Hesse
56ee1056d1 global-functions: introduce $FileGet 2025-06-03 11:06:59 +02:00

View file

@ -559,10 +559,12 @@
:set FileGet do={
:local FileName [ :tostr $1 ];
:local FileVal false;
:local FileVal;
:do {
:set FileVal [ /file/get $FileName ];
} on-error={ }
} on-error={
:return false;
}
:return $FileVal;
}