From eb14820f2e1150965a670924350de461681cc8b4 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 14 Jan 2019 11:29:36 +0100 Subject: email-backup: give board name and model --- email-backup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'email-backup') diff --git a/email-backup b/email-backup index 9dd4f51..394c0c8 100644 --- a/email-backup +++ b/email-backup @@ -27,6 +27,7 @@ :local Attach [ :toarray "" ]; # 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 Channel [ / system package update get channel ]; @@ -71,7 +72,8 @@ / tool e-mail send to=$EmailBackupTo cc=$EmailBackupCc \ subject=("[" . $Identity . "] Backup & Config") \ body=("Backup and config export for " . $Identity . ".\n\n" . \ - "Routerboard: " . $Model . "\n" . \ + "Board name: " . $BoardName . "\n" . \ + "Model: " . $Model . "\n" . \ "Serial number: " . $SerialNumber . "\n" . \ "Hostname: " . $Identity . "\n" . \ "Channel: " . $Channel . "\n" . \ -- cgit v1.2.3-70-g09d2