From 8676bdd908692a7311af2fc5672cbdedc89439ae Mon Sep 17 00:00:00 2001 From: Alexander Tebiev <326840+beeyev@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:53:32 +0200 Subject: [PATCH 1/2] bugfix - cloud based detection --- BackupAndUpdate.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BackupAndUpdate.rsc b/BackupAndUpdate.rsc index 9a91ca6..e542d2b 100644 --- a/BackupAndUpdate.rsc +++ b/BackupAndUpdate.rsc @@ -214,7 +214,7 @@ if ([:len [/system identity get name]] = 0 or [/system identity get name] = "Mik }; :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; }; From 25df3b88f10fa1212f699e03f40fa513fb9dd3f3 Mon Sep 17 00:00:00 2001 From: Alexander Tebiev <326840+beeyev@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:01:04 +0200 Subject: [PATCH 2/2] Update BackupAndUpdate.rsc --- BackupAndUpdate.rsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BackupAndUpdate.rsc b/BackupAndUpdate.rsc index e542d2b..8e207be 100644 --- a/BackupAndUpdate.rsc +++ b/BackupAndUpdate.rsc @@ -3,9 +3,9 @@ #----------SCRIPT INFORMATION--------------------------------------------------- # # Script: Mikrotik RouterOS automatic backup & update -# Version: 23.11.25 +# Version: 24.06.04 # Created: 07/08/2018 -# Updated: 25/11/2023 +# Updated: 04/06/2024 # Author: Alexander Tebiev # Website: https://github.com/beeyev # You can contact me by e-mail at tebiev@mail.com