mirror of
https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update.git
synced 2025-07-06 03:54:36 +02:00
Update BackupAndUpdate.rsc
This commit is contained in:
parent
23e31ae3fd
commit
05dd597d97
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue