From 4a67155d059cc816a5b83443104eaf79a8cfe20c Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 22 Jun 2023 14:28:17 +0200 Subject: packages-update: rename scheduler to match function name --- check-routeros-update.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check-routeros-update.rsc') diff --git a/check-routeros-update.rsc b/check-routeros-update.rsc index 4c1aaf9..1405d4e 100644 --- a/check-routeros-update.rsc +++ b/check-routeros-update.rsc @@ -39,7 +39,7 @@ $ScriptLock $0; $WaitFullyConnected; -:if ([ :len [ /system/scheduler/find where name="reboot-for-update" ] ] > 0) do={ +:if ([ :len [ /system/scheduler/find where name="\$RebootForUpdate" ] ] > 0) do={ :error "A reboot for update is already scheduled."; } -- cgit v1.2.3-54-g00ecf