diff options
author | Christian Hesse <mail@eworm.de> | 2024-01-31 15:37:41 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-31 23:10:15 +0100 |
commit | c1568a33ddb848f958ac748923484887b743a0e7 (patch) | |
tree | 26030fbb1b9fc0e0c883590d3108e1b91f23a7d4 | |
parent | d0ff07b3cc64450c0a0f33d7e532cfd189936799 (diff) |
backup-upload: use $CleanName
-rw-r--r-- | backup-upload.rsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backup-upload.rsc b/backup-upload.rsc index 34fda2b..05bc3ff 100644 --- a/backup-upload.rsc +++ b/backup-upload.rsc @@ -24,7 +24,7 @@ :global Domain; :global Identity; -:global CharacterReplace; +:global CleanName; :global DeviceInfo; :global IfThenElse; :global LogPrintExit2; @@ -51,7 +51,7 @@ $WaitFullyConnected; # filename based on identity :local DirName ("tmpfs/" . $0); -:local FileName [ $CharacterReplace ($Identity . "." . $Domain) "." "_" ]; +:local FileName [ $CleanName ($Identity . "." . $Domain) ]; :local FilePath ($DirName . "/" . $FileName); :local BackupFile "none"; :local ExportFile "none"; |