mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-02 01:04:55 +02: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