mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 01:54:29 +02:00
backup-upload: use :use inside :execute for global-config-overlay
This commit is contained in:
parent
b9eaab8e77
commit
818638d0f4
1 changed files with 2 additions and 2 deletions
|
@ -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") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue