Compare commits

..

23 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
4bc3bf40e6 Merge branch 'builtin-certs' 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
d69b399572 INITIAL-COMMANDS: use builtin certificates if possible 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

@ -32,7 +32,7 @@ Run the complete base installation:
:error "Something is wrong with your certificates!";
};
:delay 1s;
}
};
:put "Renaming global-config-overlay, if exists...";
/system/script/set name=("global-config-overlay-" . [ /system/clock/get date ] . "-" . [ /system/clock/get time ]) [ find where name="global-config-overlay" ];
:foreach Script in={ "global-config"; "global-config-overlay"; "global-functions" } do={
@ -49,7 +49,7 @@ Run the complete base installation:
:put "Renaming certificate by its common-name...";
:global CertificateNameByCN;
$CertificateNameByCN $CertFingerprint;
}
};
};
Then continue setup with