From 43b9f2bafa5257337689c379777ef686d92a41c5 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Tue, 30 Mar 2021 08:37:08 +0200 Subject: [PATCH] fix false executing of restart vector --- tasmota/xdrv_10_scripter.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/xdrv_10_scripter.ino b/tasmota/xdrv_10_scripter.ino index 326c0df47..042478b07 100755 --- a/tasmota/xdrv_10_scripter.ino +++ b/tasmota/xdrv_10_scripter.ino @@ -7872,6 +7872,8 @@ bool Xdrv10(uint8_t function) Webserver->on("/exs", HTTP_POST,[]() { Webserver->sendHeader("Location","/exs");Webserver->send(303);}, script_upload_start); Webserver->on("/exs", HTTP_GET, ScriptExecuteUploadSuccess); #endif // USE_WEBSERVER + break; + case FUNC_SAVE_BEFORE_RESTART: if (bitRead(Settings.rule_enabled, 0)) { Run_Scripter(">R", 2, 0);