aboutsummaryrefslogtreecommitdiffstats
path: root/news-and-changes.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-04-04 16:27:23 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-04-26 10:31:23 +0200
commitc8500dddd01ef10128eca0e4176050ef087a3918 (patch)
tree9205cfd2814f651cbcf28882d52bcf78d76f4c03 /news-and-changes.rsc
parenta3a7e5be4b77a6f879dd318d67d40390d643d391 (diff)
mod/ssh-keys-import: make ssh-keys-import a modulerouteros-7.9beta4-3change-100
Diffstat (limited to 'news-and-changes.rsc')
-rw-r--r--news-and-changes.rsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/news-and-changes.rsc b/news-and-changes.rsc
index 7087c6c..1e43722 100644
--- a/news-and-changes.rsc
+++ b/news-and-changes.rsc
@@ -13,9 +13,11 @@
97="Modified 'dhcp-to-dns' to always add A records for names with mac address, and optionally add CNAME records if the host name is available.";
98="Extended 'check-certificates' to download new certificate by SubjectAltNames if download by CommonName fails.";
99="Modified 'dhcp-to-dns', which dropped global configuration. Settings moved to dhcp server's network definitions.";
+ 100="The script 'ssh-keys-import' became a module 'mod/ssh-keys-import' with enhanced functionality.";
};
# 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; }";
};