Commit 55313b48 authored by Christian Hesse's avatar Christian Hesse

upload-backup: get values into array

parent 1020db0b
......@@ -31,8 +31,7 @@
:local BoardName [ / system resource get board-name ];
:local Model [ / system routerboard get model ];
:local SerialNumber [ / system routerboard get serial-number ];
:local Channel [ / system package update get channel ];
:local InstalledVersion [ / system package update get installed-version ];
:local Update [ / system package update get ];
# binary backup
:if ($BackupSendBinary = true) do={
......@@ -68,8 +67,8 @@ $SendNotification "Backup & Config Upload" \
"Model: " . $Model . "\n" . \
"Serial number: " . $SerialNumber . "\n" . \
"Hostname: " . $Identity . "\n" . \
"Channel: " . $Channel . "\n" . \
"RouterOS: " . $InstalledVersion . "\n\n" . \
"Channel: " . $Update->"channel" . "\n" . \
"RouterOS: " . $Update->"installed-version" . "\n\n" . \
"Backup uploaded: " . $BackupFile . "\n" . \
"Config uploaded: " . $ConfigFile);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment