aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backup-upload4
1 files changed, 2 insertions, 2 deletions
diff --git a/backup-upload b/backup-upload
index 4fe9535..4c09d4a 100644
--- a/backup-upload
+++ b/backup-upload
@@ -97,9 +97,9 @@ $WaitFullyConnected;
# global-config-overlay
:if ($BackupSendGlobalConfig = true) do={
- :execute script={ / } file=($FilePath . ".conf");
+ :execute script={ :put [ /system/script/get global-config-overlay source ]; } \
+ file=($FilePath . ".conf");
$WaitForFile ($FilePath . ".conf.txt");
- /file/set ($FilePath . ".conf.txt") contents=[ /system/script/get global-config-overlay source ];
:do {
/tool/fetch upload=yes url=($BackupUploadUrl . "/" . $FileName . ".conf") \