aboutsummaryrefslogtreecommitdiffstats
path: root/INITIAL-COMMANDS.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-24 15:52:58 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-24 15:52:58 +0100
commit20c337d6ba241ff6ac1eee70107001af3a03a581 (patch)
tree70e132c5f35c7af007d3455216e45931e408e4b4 /INITIAL-COMMANDS.md
parent49a83682c352b7f31a0f5ff502ee9fc62246773d (diff)
INITIAL-COMMANDS: ... but rename the configuration overlay!
This should not ultimately destroy user's configuration.
Diffstat (limited to 'INITIAL-COMMANDS.md')
-rw-r--r--INITIAL-COMMANDS.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/INITIAL-COMMANDS.md b/INITIAL-COMMANDS.md
index ba182eb..ee7cef8 100644
--- a/INITIAL-COMMANDS.md
+++ b/INITIAL-COMMANDS.md
@@ -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");