aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-22 14:28:17 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-22 22:45:32 +0200
commit4a67155d059cc816a5b83443104eaf79a8cfe20c (patch)
tree04ca4b3cea6632dbc4118507d6dc1dfef2284781 /check-routeros-update.rsc
parent64698253983f4ea608b31eb46fb4ac11fc9a156c (diff)
packages-update: rename scheduler to match function name
Diffstat (limited to 'check-routeros-update.rsc')
-rw-r--r--check-routeros-update.rsc2
1 files changed, 1 insertions, 1 deletions
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.";
}