diff options
author | Christian Hesse <mail@eworm.de> | 2021-02-22 20:01:43 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-02-24 21:51:56 +0100 |
commit | 766a92a74b728653ae73df7566f1ed34981c1063 (patch) | |
tree | def89a4a64e699f66d8efd5593981c9c9599631a /check-routeros-update | |
parent | 041ca062b1d07843e7ef9ae8e99a753e344189e5 (diff) |
global: use $0 for $ScriptFromTerminal
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 fe87d9c..9dcef1d 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -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; |