mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-05 13:28:45 +05:00
feat: automatic restart after restoring settings
This commit is contained in:
1 parent
f22c64e30c
commit
1ad1f26d4f
1 file changed
+1
@@ -226,6 +226,7 @@ protected:
|
|||||||
|
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
if (doc["settings"] && jsonToSettings(doc["settings"], settings)) {
|
if (doc["settings"] && jsonToSettings(doc["settings"], settings)) {
|
||||||
|
vars.actions.restart = true;
|
||||||
fsSettings.update();
|
fsSettings.update();
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user