From 28b00e23a17b91243628b95d50b76bd4867a4fd8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 5 Dec 2025 12:02:29 +0100 Subject: [PATCH] check-routeros-update: $DoUpdate: drop message... ... as it's either not shown anyway (when rebooting already), `packages-update` gives reasonable output, or it is simply wrong (when `packages-update` failed). --- check-routeros-update.rsc | 3 --- 1 file changed, 3 deletions(-) diff --git a/check-routeros-update.rsc b/check-routeros-update.rsc index 8b80dde..e5b2e18 100644 --- a/check-routeros-update.rsc +++ b/check-routeros-update.rsc @@ -39,14 +39,11 @@ :local DoUpdate do={ :local ScriptName [ :tostr $1 ]; - :global LogPrint; - :if ([ :len [ /system/script/find where name="packages-update" ] ] > 0) do={ /system/script/run packages-update; } else={ /system/package/update/install without-paging; } - $LogPrint info $ScriptName ("Waiting for system to reboot."); } :if ([ $ScriptLock $ScriptName ] = false) do={