mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-17 17:42:29 +02:00
check-routeros-update: use correct syntax
This commit is contained in:
parent
5e32105e7e
commit
dfe995be27
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ $LogPrintExit2 debug $0 ("Checking for updates...") false;
|
||||||
|
|
||||||
:if ([ $ScriptFromTerminal $0 ] = true) do={
|
:if ([ $ScriptFromTerminal $0 ] = 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 ] % 32) = 25) 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