mirror of
https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update.git
synced 2025-07-15 16:34:34 +02:00
23.11.25
This commit is contained in:
parent
a0a5a4a15b
commit
cf7e533c52
1 changed files with 5 additions and 3 deletions
|
@ -294,11 +294,13 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:if ($detectPublicIpAddress = true) do={
|
||||||
# Always truncate the string for safety measures
|
# Always truncate the string for safety measures
|
||||||
:set publicIpAddress ([:pick $publicIpAddress 0 15])
|
:set publicIpAddress ([:pick $publicIpAddress 0 15])
|
||||||
:set mailBodyDeviceInfo ($mailBodyDeviceInfo . "\r\nPublic IP address: " . $publicIpAddress);
|
:set mailBodyDeviceInfo ($mailBodyDeviceInfo . "\r\nPublic IP address: " . $publicIpAddress);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
## STEP ONE: Creating backups, checking for new RouterOs version and sending email with backups,
|
## STEP ONE: Creating backups, checking for new RouterOs version and sending email with backups,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue