check-routeros-update: default in capital letter

Also use square brackets as RouterOS does.
This commit is contained in:
Christian Hesse 2019-02-22 21:41:49 +01:00
parent e72b3dd4f1
commit fee0b6eb9b

View file

@ -55,7 +55,7 @@
}
:if ([ / system script job print count-only where script="check-routeros-update" parent~"." ] > 0) do={
:put ("Do you want to install RouterOS version " . $LatestVersion . "? (y/n)");
:put ("Do you want to install RouterOS version " . $LatestVersion . "? [y/N]");
:if ([ :terminal inkey timeout=60 ] = 121) do={
$Update;
} else={