aboutsummaryrefslogtreecommitdiffstats
path: root/backup-email.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-22 21:18:39 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-11-22 21:18:39 +0100
commitd1abbede75253e3f10be0cba6e7ae68a1700865f (patch)
tree855dad446ec2c2e07cbff26ef44488aafcc2d3c5 /backup-email.rsc
parentb75b0bf6bea8ed02cab0db32e948ea0f7de13d08 (diff)
backup-email: get rid of '.txt' file extension
Diffstat (limited to 'backup-email.rsc')
-rw-r--r--backup-email.rsc8
1 files changed, 4 insertions, 4 deletions
diff --git a/backup-email.rsc b/backup-email.rsc
index 95e9015..f4f1fc8 100644
--- a/backup-email.rsc
+++ b/backup-email.rsc
@@ -82,10 +82,10 @@ $WaitFullyConnected;
:if ($BackupSendGlobalConfig = true) do={
# Do *NOT* use '/file/add ...' here, as it is limited to 4095 bytes!
:execute script={ :put [ /system/script/get global-config-overlay source ]; } \
- file=($FilePath . ".conf");
- $WaitForFile ($FilePath . ".conf.txt");
- :set ConfigFile ($FileName . ".conf.txt");
- :set Attach ($Attach, ($FilePath . ".conf.txt"));
+ file=($FilePath . ".conf\00");
+ $WaitForFile ($FilePath . ".conf");
+ :set ConfigFile ($FileName . ".conf");
+ :set Attach ($Attach, ($FilePath . ".conf"));
}
# send email with status and files