aboutsummaryrefslogtreecommitdiffstats
path: root/news-and-changes.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-07-16 14:19:17 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-07-16 14:19:17 +0200
commit380b3b3137710eee28ca1a1b7362ae6d5b99c784 (patch)
tree43e3097c8a439a51c348cecd3eae8a66680d766a /news-and-changes.rsc
parentf09fa83105ea40876e7103a118b3d6d57098cf0c (diff)
parent6fbafe76ba27e35d1f3067430ba78cedfa85eb19 (diff)
Merge branch 'line-breaks' into nextrouteros-7.14-1
Diffstat (limited to 'news-and-changes.rsc')
-rw-r--r--news-and-changes.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/news-and-changes.rsc b/news-and-changes.rsc
index 8ddc3d6..9ab811d 100644
--- a/news-and-changes.rsc
+++ b/news-and-changes.rsc
@@ -61,7 +61,7 @@
# Migration steps to be applied on script updates
:global GlobalConfigMigration {
97=":local Rec [ /ip/dns/static/find where comment~\"^managed by dhcp-to-dns for \" ]; :if ([ :len \$Rec ] > 0) do={ /ip/dns/static/remove \$Rec; /system/script/run dhcp-to-dns; }";
- 100=":global ScriptInstallUpdate; :if ([ :len [ /system/script/find where name=\"ssh-keys-import\" source~\"^#!rsc by RouterOS\\n\" ] ] > 0) do={ /system/script/set name=\"mod/ssh-keys-import\" ssh-keys-import; \$ScriptInstallUpdate; }";
+ 100=":global ScriptInstallUpdate; :if ([ :len [ /system/script/find where name=\"ssh-keys-import\" source~\"^#!rsc by RouterOS\\r?\\n\" ] ] > 0) do={ /system/script/set name=\"mod/ssh-keys-import\" ssh-keys-import; \$ScriptInstallUpdate; }";
104=":global CharacterReplace; :global ScriptInstallUpdate; :foreach Script in={ \"capsman-download-packages\"; \"capsman-rolling-upgrade\"; \"hotspot-to-wpa\"; \"hotspot-to-wpa-cleanup\" } do={ /system/script/set name=(\$Script . \".capsman\") [ find where name=\$Script ]; :foreach Scheduler in=[ /system/scheduler/find where on-event~(\$Script . \"([^-.]|\\\$)\") ] do={ /system/scheduler/set \$Scheduler on-event=[ \$CharacterReplace [ get \$Scheduler on-event ] \$Script (\$Script . \".capsman\") ]; }; }; /ip/hotspot/user/profile/set on-login=\"hotspot-to-wpa.capsman\" [ find where on-login=\"hotspot-to-wpa\" ]; \$ScriptInstallUpdate;";
111=":local Rec [ /ip/dns/static/find where comment~\"^managed by dhcp-to-dns for \" ]; :if ([ :len \$Rec ] > 0) do={ /ip/dns/static/remove \$Rec; /system/script/run dhcp-to-dns; }";
};