mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 10:14:31 +02:00
global-functions: $HumanReadableNum: indicate binary base...
... and update scripts to match the change.
This commit is contained in:
parent
36cf4d028b
commit
3015743b19
4 changed files with 11 additions and 7 deletions
|
@ -71,7 +71,7 @@
|
|||
message=("Uploaded backup for " . $Identity . " to cloud.\n\n" . \
|
||||
[ $DeviceInfo ] . "\n\n" . \
|
||||
[ $FormatLine "Name" ($Cloud->"name") ] . "\n" . \
|
||||
[ $FormatLine "Size" ([ $HumanReadableNum ($Cloud->"size") 1024 ] . "iB") ] . "\n" . \
|
||||
[ $FormatLine "Size" ([ $HumanReadableNum ($Cloud->"size") 1024 ] . "B") ] . "\n" . \
|
||||
[ $FormatLine "Download key" ($Cloud->"secret-download-key") ]); silent=true });
|
||||
} else={
|
||||
$SendNotification2 ({ origin=$ScriptName; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue