Remove outdated startup and SSH banners
This commit is contained in:
@@ -26,7 +26,7 @@ Based on checked-in source plus `README.md` and `docs/roadmap.md`:
|
||||
|
||||
These observations should be checked when touching the relevant area; they are not automatically bugs requiring unrelated cleanup.
|
||||
|
||||
- `src/main.c` logs a Phase 7E startup banner although the implementation/roadmap is at Phase 8C.
|
||||
|
||||
- Some source comments still call shared commands UART0-only or call the current local status/control task read-only.
|
||||
- `USER_DATABASE_LOAD_EMPTY` is only an initialization/failure sentinel at the checked-in revision: every successful `user_database_init()` path returns `STORED` or `MIGRATED_LEGACY`, so `main.c`'s successful "new empty" log branch is unreachable.
|
||||
- SSH startup is currently gated on successful `web_security` initialization even though SSH uses separate host-key material. **Needs verification:** whether this coupling is intentional recovery policy or an accidental startup dependency.
|
||||
|
||||
@@ -46,7 +46,6 @@ static const char *TAG = "firmware";
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
ESP_LOGI(TAG, "ESP32-S3 Serial Swiss Army Knife Phase 7E local UI reliability started");
|
||||
|
||||
if (esp_psram_is_initialized()) {
|
||||
ESP_LOGI(TAG, "PSRAM initialized: %u bytes", (unsigned int)esp_psram_get_size());
|
||||
|
||||
+1
-2
@@ -547,8 +547,7 @@ static esp_err_t create_context(void)
|
||||
(void)wolfSSH_CTX_SetChannelReqShellCb(context, accept_shell);
|
||||
(void)wolfSSH_CTX_SetChannelReqExecCb(context, reject_channel_request);
|
||||
(void)wolfSSH_CTX_SetChannelReqSubsysCb(context, reject_channel_request);
|
||||
(void)wolfSSH_CTX_SetBanner(
|
||||
context, "ESP32 Serial Swiss Army Knife - authenticated serial transport\r\n");
|
||||
|
||||
s_context = context;
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user