mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $DeviceInfo: more indention
This commit is contained in:
parent
8020955b3b
commit
8992b18166
1 changed files with 5 additions and 5 deletions
|
@ -175,19 +175,19 @@
|
|||
}
|
||||
:set Info ($Info . "\n" . \
|
||||
"RouterOS:\n" . \
|
||||
" Channel: " . $Update->"channel" . "\n" . \
|
||||
" Installed: " . $Update->"installed-version");
|
||||
" Channel: " . $Update->"channel" . "\n" . \
|
||||
" Installed: " . $Update->"installed-version");
|
||||
:if ([ :typeof ($Update->"latest-version") ] != "nothing" && \
|
||||
$Update->"installed-version" != $Update->"latest-version") do={
|
||||
:set Info ($Info . "\n" . \
|
||||
" Available: " . $Update->"latest-version");
|
||||
" Available: " . $Update->"latest-version");
|
||||
}
|
||||
:set Info ($Info . "\n" . \
|
||||
"RouterOS-Scripts Configuration Version:\n" . \
|
||||
" Current: " . $GlobalConfigVersion);
|
||||
" Current: " . $GlobalConfigVersion);
|
||||
:if ($GlobalConfigVersion != $ExpectedConfigVersion) do={
|
||||
:set Info ($Info . "\n" . \
|
||||
" Expected: " . $ExpectedConfigVersion);
|
||||
" Expected: " . $ExpectedConfigVersion);
|
||||
}
|
||||
|
||||
:return $Info;
|
||||
|
|
Loading…
Reference in a new issue