mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
upload-backup: drop warning on RouterOS v7...
... now that we have it in global-functions.
This commit is contained in:
parent
899085e831
commit
7b770b2fb8
1 changed files with 0 additions and 6 deletions
|
@ -28,7 +28,6 @@
|
||||||
:global LogPrintExit2;
|
:global LogPrintExit2;
|
||||||
:global MkDir;
|
:global MkDir;
|
||||||
:global RandomDelay;
|
:global RandomDelay;
|
||||||
:global RequiredRouterOS;
|
|
||||||
:global ScriptFromTerminal;
|
:global ScriptFromTerminal;
|
||||||
:global SendNotification2;
|
:global SendNotification2;
|
||||||
:global SymbolForNotification;
|
:global SymbolForNotification;
|
||||||
|
@ -77,11 +76,6 @@ $WaitFullyConnected;
|
||||||
|
|
||||||
# create configuration export
|
# create configuration export
|
||||||
:if ($BackupSendExport = true) do={
|
: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;
|
/ export terse file=$FilePath;
|
||||||
$WaitForFile ($FilePath . ".rsc");
|
$WaitForFile ($FilePath . ".rsc");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue