aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-10-22 19:32:19 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-10-22 19:32:19 +0200
commit435f70999c0fc28aaf804c00552d0d54dcf10806 (patch)
treeb5fa87161db5a6b194d9a8708e599e7439574ba1
parent71c58c6afb27fc66356f9d5d3d41c5af7ab2f9d7 (diff)
backup-partition: drop warning on lock in device-moderouteros-7.17beta4-1
... as switching partitions is possible again in RouterOS 7.17beta4.
-rw-r--r--backup-partition.rsc8
1 files changed, 0 insertions, 8 deletions
diff --git a/backup-partition.rsc b/backup-partition.rsc
index 8b4be9b..51df454 100644
--- a/backup-partition.rsc
+++ b/backup-partition.rsc
@@ -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 ];