Compare commits

..

21 commits

Author SHA1 Message Date
Christian Hesse
57d9130b98 update list of contributors 2025-06-03 12:29:42 +02:00
Christian Hesse
2c3042aec7 check-routeros-update: remove a stale scheduler 2025-06-03 12:29:42 +02:00
Christian Hesse
4f4c5c4424 packages-update: support deferred reboot with longer interval 2025-06-03 12:29:42 +02:00
Christian Hesse
f27d930739 Merge branch 'file' into next 2025-06-03 12:29:42 +02:00
Christian Hesse
a7cd84e1fd capsman-download-packages: adopt new functionality from file menu 2025-06-03 12:29:42 +02:00
Christian Hesse
039d881899 capsman-download-packages: use $FileGet 2025-06-03 12:29:42 +02:00
Christian Hesse
32e3a66604 telegram-chat: use $FileExists 2025-06-03 12:29:42 +02:00
Christian Hesse
1d6165e2e7 mod/ssh-keys-import: use $FileExists 2025-06-03 12:29:42 +02:00
Christian Hesse
83f9acc85c mod/notification-email: use $RmFile 2025-06-03 12:29:42 +02:00
Christian Hesse
8dda10b2fd mod/notification-email: use $FileExists 2025-06-03 12:29:42 +02:00
Christian Hesse
85d07cabf5 backup-email: add a comment why files are not removed 2025-06-03 12:29:42 +02:00
Christian Hesse
d186047e3d backup-email: check for .conf file 2025-06-03 12:29:42 +02:00
Christian Hesse
041d44226d backup-email: use :retry and $FileExists 2025-06-03 12:29:42 +02:00
Christian Hesse
09969d4040 global-functions: $DownloadPackage: use $FileExists 2025-06-03 12:29:42 +02:00
Christian Hesse
dada0b6ec3 global-functions: introduce $FileExists 2025-06-03 12:29:42 +02:00
Christian Hesse
9c050bf678 global-functions: $WaitForFile: use :retry for simplification, ...
... and to work around restrictions in new file handling
2025-06-03 12:29:42 +02:00
Christian Hesse
dfe37620ab global-functions: $WaitForFile: drop the workaround
This was fixed in RouterOS 7.18rc1, so should be ok to remove now.
2025-06-03 12:29:42 +02:00
Christian Hesse
bd49191490 global-functions: $RmFile: use $FileGet ...
... to work around restrictions in new file handling
2025-06-03 12:29:42 +02:00
Christian Hesse
0574e752dc global-functions: $RmDir: use $FileGet ...
... to work around restrictions in new file handling
2025-06-03 12:29:42 +02:00
Christian Hesse
4b0f962b9d global-functions: $MkDir: use $FileGet ...
... to work around restrictions in new file handling
2025-06-03 12:29:42 +02:00
Christian Hesse
b70e6e7984 global-functions: introduce $FileGet 2025-06-03 12:29:42 +02:00

View file

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