diff options
-rw-r--r-- | upload-backup | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/upload-backup b/upload-backup index 31efce7..87d3960 100644 --- a/upload-backup +++ b/upload-backup @@ -29,8 +29,7 @@ # get some system information :local BoardName [ / system resource get board-name ]; -:local Model [ / system routerboard get model ]; -:local SerialNumber [ / system routerboard get serial-number ]; +:local RouterBoard [ / system routerboard get ]; :local Update [ / system package update get ]; # binary backup @@ -64,8 +63,8 @@ $SendNotification "Backup & Config Upload" \ ("Backup and config export for " . $Identity . ".\n\n" . \ "Board name: " . $BoardName . "\n" . \ - "Model: " . $Model . "\n" . \ - "Serial number: " . $SerialNumber . "\n" . \ + "Model: " . $RouterBoard->"model" . "\n" . \ + "Serial number: " . $RouterBoard->"serial-number" . "\n" . \ "Hostname: " . $Identity . "\n" . \ "Channel: " . $Update->"channel" . "\n" . \ "RouterOS: " . $Update->"installed-version" . "\n\n" . \ |