mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 10:14:31 +02:00
global: use $0 for $ScriptFromTerminal
This commit is contained in:
parent
041ca062b1
commit
766a92a74b
2 changed files with 4 additions and 4 deletions
|
@ -93,7 +93,7 @@ $WaitFullyConnected;
|
|||
}
|
||||
}
|
||||
|
||||
:if ([ $ScriptFromTerminal "check-routeros-update" ] = true) do={
|
||||
:if ([ $ScriptFromTerminal $0 ] = true) do={
|
||||
:put ("Do you want to install RouterOS version " . $Update->"latest-version" . "? [y/N]");
|
||||
:if (([ :terminal inkey timeout=60 ] % 32) = 25) do={
|
||||
$DoUpdate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue