diff options
author | Christian Hesse <mail@eworm.de> | 2020-05-26 22:59:14 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-05-26 22:59:14 +0200 |
commit | bcf57f0adb17cdc44d391caed54a6319522ba089 (patch) | |
tree | 8a16ccf47fbf374ae492c0f74ce2c656e595d80e /check-routeros-update | |
parent | 83a8743879918942dba3d81894f12ca2cff6dc4f (diff) |
check-routeros-update: accept lower and upper case characters
Diffstat (limited to 'check-routeros-update')
-rw-r--r-- | check-routeros-update | 2 |
1 files changed, 1 insertions, 1 deletions
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..."; |