mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-27 14:24:50 +02:00
check-routeros-update: accept lower and upper case characters
This commit is contained in:
parent
83a8743879
commit
bcf57f0adb
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@
|
||||||
|
|
||||||
:if ([ $ScriptFromTerminal "check-routeros-update" ] = true) do={
|
:if ([ $ScriptFromTerminal "check-routeros-update" ] = true) do={
|
||||||
:put ("Do you want to install RouterOS version " . $Update->"latest-version" . "? [y/N]");
|
: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;
|
$DoUpdate;
|
||||||
} else={
|
} else={
|
||||||
:put "Canceled...";
|
:put "Canceled...";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue