mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
in standalone mode, always go as SU/admin
This commit is contained in:
@@ -431,6 +431,10 @@ void Console::start() {
|
||||
shell->maximum_log_messages(100); // default is 50
|
||||
shell->start();
|
||||
shell->log_level(uuid::log::Level::DEBUG); // order is: err, warning, notice, info, trace, debug, all
|
||||
|
||||
#if defined(EMSESP_STANDALONE)
|
||||
shell->add_flags(CommandFlags::ADMIN);
|
||||
#endif
|
||||
}
|
||||
|
||||
// always start the telnet service, except on an ESP8266
|
||||
|
||||
Reference in New Issue
Block a user