mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 09:59:28 +00:00
backup-partition: drop warning on lock in device-mode
... as switching partitions is possible again in RouterOS 7.17beta4.
This commit is contained in:
parent
71c58c6afb
commit
435f70999c
1 changed files with 0 additions and 8 deletions
|
|
@ -19,8 +19,6 @@
|
|||
:global PackagesUpdateBackupFailure;
|
||||
|
||||
:global LogPrint;
|
||||
:global LogPrintOnce;
|
||||
:global RequiredRouterOS;
|
||||
:global ScriptFromTerminal;
|
||||
:global ScriptLock;
|
||||
:global VersionToNum;
|
||||
|
|
@ -61,12 +59,6 @@
|
|||
:error false;
|
||||
}
|
||||
|
||||
:if ([ $RequiredRouterOS $ScriptName "7.17beta2" false ] = true && \
|
||||
([ /system/device-mode/get ]->"partitions") != true) do={
|
||||
$LogPrintOnce warning $ScriptName \
|
||||
("The device mode has locked switching partitions! You will need physical access!");
|
||||
}
|
||||
|
||||
:local FallbackToName [ /partitions/get $ActiveRunning fallback-to ];
|
||||
:local FallbackTo [ /partition/find where name=$FallbackToName !active ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue