upload-backup: drop warning on RouterOS v7...

... now that we have it in global-functions.
This commit is contained in:
Christian Hesse 2021-12-07 23:03:30 +01:00
parent 899085e831
commit 7b770b2fb8

View file

@ -28,7 +28,6 @@
:global LogPrintExit2;
:global MkDir;
:global RandomDelay;
:global RequiredRouterOS;
:global ScriptFromTerminal;
:global SendNotification2;
:global SymbolForNotification;
@ -77,11 +76,6 @@ $WaitFullyConnected;
# create configuration export
:if ($BackupSendExport = true) do={
:if ([ $RequiredRouterOS $0 "7.1rc1" false ] = true) do={
$LogPrintExit2 warning $0 ("RouterOS v7 hides sensitive information on export. " . \
"Switch to branch 'routeros-v7' for full export.") false;
}
/ export terse file=$FilePath;
$WaitForFile ($FilePath . ".rsc");