mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-03 17:54:47 +02:00
packages-update: drop check for device-mode downgrade...
... as things have been revised and this specific setting was removed.
This commit is contained in:
parent
a224fbc424
commit
5b09469cc6
1 changed files with 0 additions and 6 deletions
|
@ -99,12 +99,6 @@
|
|||
|
||||
:local DoDowngrade false;
|
||||
:if ($NumInstalled > $NumLatest) do={
|
||||
:if (([ /system/device-mode/get ]->"downgrade") = false) do={
|
||||
$LogPrint error $ScriptName \
|
||||
("The device mode has locked downgrades! You will need physical access!");
|
||||
:error false;
|
||||
}
|
||||
|
||||
:if ([ $ScriptFromTerminal $ScriptName ] = true) do={
|
||||
:put "Latest version is older than installed one. Want to downgrade? [y/N]";
|
||||
:if (([ /terminal/inkey timeout=60 ] % 32) = 25) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue