mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-02 06:04:27 +02:00
global-functions: $ScriptInstallUpdate: drop the re-run message
This makes sense just rarely... For important changes we have the migration mechanism. So just drop this.
This commit is contained in:
parent
f9a2afdeda
commit
b866eca3ec
1 changed files with 0 additions and 5 deletions
|
@ -711,7 +711,6 @@
|
|||
:local ExpectedConfigVersionBefore $ExpectedConfigVersion;
|
||||
:local ReloadGlobalFunctions false;
|
||||
:local ReloadGlobalConfig false;
|
||||
:local ScriptInstallUpdateBefore [ :tostr $ScriptInstallUpdate ];
|
||||
|
||||
:foreach Script in=[ / system script find where source~"^#!rsc( by RouterOS)\?\n" ] do={
|
||||
:local ScriptVal [ / system script get $Script ];
|
||||
|
@ -879,10 +878,6 @@
|
|||
:set GlobalConfigChanges;
|
||||
:set GlobalConfigMigration;
|
||||
}
|
||||
|
||||
:if ($ScriptInstallUpdateBefore != [ :tostr $ScriptInstallUpdate ]) do={
|
||||
$LogPrintExit2 info $0 ("This function changed, you may want to re-run.") false;
|
||||
}
|
||||
}
|
||||
|
||||
# lock script against multiple invocation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue