mirror of
https://github.com/beeyev/Mikrotik-RouterOS-automatic-backup-and-update.git
synced 2025-07-10 14:04:31 +02:00
Merge pull request #54 from beeyev/beeyev-patch-1
bugfix - cloud based detection #53
This commit is contained in:
commit
c47e747c27
1 changed files with 3 additions and 3 deletions
|
@ -3,9 +3,9 @@
|
||||||
#----------SCRIPT INFORMATION---------------------------------------------------
|
#----------SCRIPT INFORMATION---------------------------------------------------
|
||||||
#
|
#
|
||||||
# Script: Mikrotik RouterOS automatic backup & update
|
# Script: Mikrotik RouterOS automatic backup & update
|
||||||
# Version: 23.11.25
|
# Version: 24.06.04
|
||||||
# Created: 07/08/2018
|
# Created: 07/08/2018
|
||||||
# Updated: 25/11/2023
|
# Updated: 04/06/2024
|
||||||
# Author: Alexander Tebiev
|
# Author: Alexander Tebiev
|
||||||
# Website: https://github.com/beeyev
|
# Website: https://github.com/beeyev
|
||||||
# You can contact me by e-mail at tebiev@mail.com
|
# You can contact me by e-mail at tebiev@mail.com
|
||||||
|
@ -214,7 +214,7 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik
|
||||||
};
|
};
|
||||||
|
|
||||||
:local isSoftBased false;
|
:local isSoftBased false;
|
||||||
:if ([/system resource get board-name] = "CHR" or [/system resource get board-name] = "x86") do={
|
:if ([:pick [/system resource get board-name] 0 3] = "CHR" or [/system resource get board-name] = "x86") do={
|
||||||
:set isSoftBased true;
|
:set isSoftBased true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue