aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-11-14 21:03:07 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-11-14 21:03:07 +0100
commit5b09469cc6c707b473b74687951b2d1e6468928a (patch)
tree8bd9a7f161551ec7edf612720560456ab959eebc /packages-update.rsc
parenta224fbc42457550fcb7f6daa81c2cb14b7075799 (diff)
packages-update: drop check for device-mode downgrade...HEADrouteros-7.17beta5-1nextmain
... as things have been revised and this specific setting was removed.
Diffstat (limited to 'packages-update.rsc')
-rw-r--r--packages-update.rsc6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages-update.rsc b/packages-update.rsc
index c2f0ba6..b08a48d 100644
--- a/packages-update.rsc
+++ b/packages-update.rsc
@@ -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={