mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-25 20:27:18 +02:00
added option to reboot ahoy every 24 hours
This commit is contained in:
parent
492cc5a8aa
commit
d7eb4a0b98
5 changed files with 19 additions and 0 deletions
|
@ -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}") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue