Merge remote-tracking branch 'origin/ftp_v2'

This commit is contained in:
BrandonSk 2021-12-02 15:52:39 +01:00
commit dfbfdf1b82

View file

@ -468,15 +468,14 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
} }
} }
} }
:delay 30s; :delay 30s;
}
# Cleanup will be performed if there are backup files AND at least one of the email or ftp upload had succeeded. # Cleanup will be performed if there are backup files AND at least one of the email or ftp upload had succeeded.
:if ($storedBackupsCounter > 0) do={ :if ($storedBackupsCounter > 0) do={
:log info "$SMP File system cleanup." :log info "$SMP File system cleanup."
/file remove $mailAttachments; /file remove $mailAttachments;
:delay 2s; :delay 2s;
}
} }
# Fire RouterOs update process # Fire RouterOs update process