aboutsummaryrefslogtreecommitdiffstats
path: root/global-config.changes
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-01-06 10:23:03 +0100
committerGravatar Christian Hesse <mail@eworm.de>2022-01-06 10:23:03 +0100
commit97f35dcf0e99738e9170a413f6be52c989708b9c (patch)
tree1b9dee4af1a834b4cc2fa83d713743708498f1f4 /global-config.changes
parent57c80dc2a42280c1a8d1f2c7de8d73a3e03190bc (diff)
parented0135c613b92ce59bda832f0e4a789a8268223f (diff)
Merge branch 'backup' into next
Diffstat (limited to 'global-config.changes')
-rw-r--r--global-config.changes2
1 files changed, 2 insertions, 0 deletions
diff --git a/global-config.changes b/global-config.changes
index 00c31fc..0325ac5 100644
--- a/global-config.changes
+++ b/global-config.changes
@@ -76,6 +76,7 @@
70="MikroTik started pushing RouterOS v7. Changes are required if you run it, see https://git.eworm.de/cgit/routeros-scripts/about/#changes-for-routeros-v7";
71="MikroTik is pushing RouterOS v7 even more, in parallel branches. If you want to keep RouterOS v6 for some time see https://git.eworm.de/cgit/routeros-scripts/about/#changes-for-routeros-v6";
72="Introduced new script 'netwatch-dns' to manage DNS and DoH servers from netwatch.";
+ 73="Renamed backup scripts ('cloud-backup' -> 'backup-cloud', 'email-backup' -> 'backup-email', 'upload-backup' -> 'backup-upload').";
};
# Migration steps to be applied on script updates
@@ -87,4 +88,5 @@
61="/ system script remove [ find where name~\"^(early-errors|mode-button-(event|scheduler)|script-updates)\\\$\" source~\"^#!rsc by RouterOS\\n\" ];";
66=":global ScriptInstallUpdate; :if ([ :len [ / system script find where name=\"bridge-port-to-default\" ] ] > 0) do={ / system script remove [ find where name~\"^bridge-port-to(-default|ggle)\\\$\" ]; \$ScriptInstallUpdate mod/bridge-port-to; }";
67=":global ScriptInstallUpdate; :global CharacterReplace; :foreach Script in=[ / system script find where name~\"^global-functions.d/\" ] do={ / system script set name=[ \$CharacterReplace [ / system script get \$Script name ] \"global-functions.d/\" \"mod/\" ] \$Script; }; \$ScriptInstallUpdate;";
+ 73=":global ScriptInstallUpdate; :global CharacterReplace; :foreach Old,New in={ \"cloud-backup\"=\"backup-cloud\"; \"email-backup\"=\"backup-email\"; \"upload-backup\"=\"backup-upload\" } do={ / system script set name=\$New [ find where name=\$Old ]; :foreach Scheduler in=[ / system scheduler find where on-event~\$Old ] do={ / system scheduler set \$Scheduler name=[ \$CharacterReplace [ get \$Scheduler name ] \$Old \$New ] on-event=[ \$CharacterReplace [ get \$Scheduler on-event ] \$Old \$New ]; }; }; \$ScriptInstallUpdate;";
};