aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'packages-update.rsc')
-rw-r--r--packages-update.rsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages-update.rsc b/packages-update.rsc
index caaac6a..85a241a 100644
--- a/packages-update.rsc
+++ b/packages-update.rsc
@@ -95,8 +95,8 @@ $ScriptLock $0;
$RandomDelay 3600;
/system/reboot;
}
- /system/scheduler/add name="\$RebootForUpdate" start-time=03:00:00 interval=1d \
- on-event=("/system/scheduler/remove \"\\\$RebootForUpdate\"; " . \
+ /system/scheduler/add name="_RebootForUpdate" start-time=03:00:00 interval=1d \
+ on-event=("/system/scheduler/remove \"_RebootForUpdate\"; " . \
":global RebootForUpdate; \$RebootForUpdate;");
$LogPrintExit2 info $0 ("Scheduled reboot for update between 03:00 and 04:00.") true;
}