mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-16 04:54:30 +02:00
INITIAL-COMMANDS: ... but rename the configuration overlay!
This should not ultimately destroy user's configuration.
This commit is contained in:
parent
49a83682c3
commit
20c337d6ba
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ Run the complete base installation:
|
|||
};
|
||||
/file/remove "letsencrypt-E1.pem";
|
||||
:delay 1s;
|
||||
/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={
|
||||
/system/script/remove [ find where name=$Script ];
|
||||
/system/script/add name=$Script owner=$Script source=([ /tool/fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit/routeros-scripts/plain/" . $Script . ".rsc") output=user as-value]->"data");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue