aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-17 11:23:17 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-17 11:23:17 +0200
commitd1cba3fc057a71cc2ad4d88450e492f58669ce7f (patch)
treeb2babe813d888b9f89a48b2700b4250b0d5f98f6
parente0fe98a27410f415e296bba69c4587847ddd4781 (diff)
downloadrouteros-scripts-d1cba3fc057a71cc2ad4d88450e492f58669ce7f.tar.gz
routeros-scripts-d1cba3fc057a71cc2ad4d88450e492f58669ce7f.tar.zst
upload-backup: add symbol in notification
-rw-r--r--upload-backup3
1 files changed, 2 insertions, 1 deletions
diff --git a/upload-backup b/upload-backup
index 30e7047..6ad85ad 100644
--- a/upload-backup
+++ b/upload-backup
@@ -19,6 +19,7 @@
:global DeviceInfo;
:global LogPrintExit;
:global SendNotification;
+:global SymbolForNotification;
:if ($BackupSendBinary != true && \
$BackupSendExport != true) do={
@@ -58,7 +59,7 @@
}
}
-$SendNotification "Backup & Config Upload" \
+$SendNotification ([ $SymbolForNotification "floppy-disk" ] . "Backup & Config Upload") \
("Backup and config export upload for " . $Identity . ".\n\n" . \
[ $DeviceInfo ] . "\n\n" . \
"Backup file: " . $BackupFile . "\n" . \