Update BackupAndUpdate.rsc

This commit is contained in:
deniska-666
2024-03-22 22:19:27 +01:00
committed by GitHub
parent 23e31ae3fd
commit 05dd597d97

View File

@ -422,7 +422,7 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
## Reboot system to boot with new firmware ## Reboot system to boot with new firmware
/system reboot; /system reboot;
} else={ } else={
:log info "$SMP It appers that your routerboard is already up to date, skipping this step."; :log info "$SMP It appears that your routerboard is already up to date, skipping this step.";
:set updateStep 3; :set updateStep 3;
}; };
} }
@ -453,7 +453,7 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
:log info "$SMP Sending email message, it will take around half a minute..."; :log info "$SMP Sending email message, it will take around half a minute...";
:do {/tool e-mail send to=$emailAddress subject=$mailSubject body=$mailBody file=$mailAttachments;} on-error={ :do {/tool e-mail send to=$emailAddress subject=$mailSubject body=$mailBody file=$mailAttachments;} on-error={
:delay 5s; :delay 5s;
:log error "$SMP could not send email message ($[/tool e-mail get last-status]). Going to try it again in a while." :log error "$SMP could not send email message ($[/tool e-mail get last-status]). Will attempt redelivery shortly."
:delay 5m; :delay 5m;