ucentral-event: fix boot detection

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-02-23 11:35:49 +01:00
parent 9348c426e5
commit b4a2291dce

View File

@@ -295,6 +295,8 @@ function is_reboot() {
let file = fs.open(boot_file, "w");
if (file)
file.close();
return true;
}
let ubus_methods = {