mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
backup-email: use $CleanName
This commit is contained in:
parent
c5714e5dc8
commit
d0ff07b3cc
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
:global Domain;
|
:global Domain;
|
||||||
:global Identity;
|
:global Identity;
|
||||||
|
|
||||||
:global CharacterReplace;
|
:global CleanName;
|
||||||
:global DeviceInfo;
|
:global DeviceInfo;
|
||||||
:global FormatLine;
|
:global FormatLine;
|
||||||
:global LogPrintExit2;
|
:global LogPrintExit2;
|
||||||
|
@ -52,7 +52,7 @@ $WaitFullyConnected;
|
||||||
|
|
||||||
# filename based on identity
|
# filename based on identity
|
||||||
:local DirName ("tmpfs/" . $0);
|
:local DirName ("tmpfs/" . $0);
|
||||||
:local FileName [ $CharacterReplace ($Identity . "." . $Domain) "." "_" ];
|
:local FileName [ $CleanName ($Identity . "." . $Domain) ];
|
||||||
:local FilePath ($DirName . "/" . $FileName);
|
:local FilePath ($DirName . "/" . $FileName);
|
||||||
:local BackupFile "none";
|
:local BackupFile "none";
|
||||||
:local ExportFile "none";
|
:local ExportFile "none";
|
||||||
|
|
Loading…
Reference in a new issue