mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 10:04:19 +02:00
backup-email: get rid of '.txt' file extension
This commit is contained in:
parent
b75b0bf6be
commit
d1abbede75
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue