From bcf57f0adb17cdc44d391caed54a6319522ba089 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 26 May 2020 22:59:14 +0200 Subject: check-routeros-update: accept lower and upper case characters --- check-routeros-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-routeros-update b/check-routeros-update index 7df980e..079c918 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -62,7 +62,7 @@ :if ([ $ScriptFromTerminal "check-routeros-update" ] = true) do={ :put ("Do you want to install RouterOS version " . $Update->"latest-version" . "? [y/N]"); - :if ([ :terminal inkey timeout=60 ] = 121) do={ + :if (([ :terminal inkey timeout=60 ] % 32) = 25) do={ $DoUpdate; } else={ :put "Canceled..."; -- cgit v1.2.3-70-g09d2