added option to reboot ahoy every 24 hours

This commit is contained in:
tastendruecker123 2023-04-17 16:56:24 +02:00
parent 492cc5a8aa
commit d7eb4a0b98
5 changed files with 19 additions and 0 deletions

View file

@ -451,6 +451,7 @@ class Web {
if (request->arg("device") != "")
request->arg("device").toCharArray(mConfig->sys.deviceName, DEVNAME_LEN);
mConfig->sys.darkMode = (request->arg("darkMode") == "on");
mConfig->sys.schedReboot = (request->arg("schedReboot") == "on");
// protection
if (request->arg("adminpwd") != "{PWD}") {