mirror of
https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update.git
synced 2025-07-22 19:55:09 +02:00
23.11.25
This commit is contained in:
parent
35c17d1153
commit
c919a83136
1 changed files with 5 additions and 5 deletions
|
@ -53,8 +53,8 @@
|
|||
## If true, device public IP address information will be included into the email message
|
||||
:local detectPublicIpAddress true;
|
||||
|
||||
## Only anonymous information, such as script mode, device model, and OS version, will be collected.
|
||||
:local allowAnonymousTelemetryCollection true;
|
||||
## Allow anonymous statistics collection. (script mode, device model, OS version)
|
||||
:local allowAnonymousStatisticsCollection true;
|
||||
|
||||
##------------------------------------------------------------------------------------------##
|
||||
# !!!! DO NOT CHANGE ANYTHING BELOW THIS LINE, IF YOU ARE NOT SURE WHAT YOU ARE DOING !!!! #
|
||||
|
@ -273,12 +273,12 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
|
|||
## IP address detection & anonymous telemetry
|
||||
:if ($updateStep = 1 or $updateStep = 3) do={
|
||||
:if ($updateStep = 3) do={
|
||||
:log info ("$SMP Waiting for one minute before continue the final step.");
|
||||
:log info ("$SMP Waiting for one minute before continuing to the final step.");
|
||||
:delay 1m;
|
||||
}
|
||||
|
||||
:if ($detectPublicIpAddress = true or $allowAnonymousTelemetryCollection = true) do={
|
||||
:if ($allowAnonymousTelemetryCollection = true) do={
|
||||
:if ($detectPublicIpAddress = true or $allowAnonymousStatisticsCollection = true) do={
|
||||
:if ($allowAnonymousStatisticsCollection = true) do={
|
||||
:set telemetryDataQuery ("\?mode=" . $scriptMode . "&osver=" . $deviceOsVerInst . "&model=" . $deviceRbModel);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue