- deviceinfo / modules-initfs: boot through the U-Boot chainload, modules needed in the initramfs for the display, USB and the DSPs. - initfs hooks: dropbear/telnet debug shell over USB networking. - rtwo-panel-revive.service: blank/unblank the NT37705 if it comes up dead from the ABL handoff. - logind-power-key.conf: ignore the power key (handled by the dashboard). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DnHwDU5yL8L6qgPEN5CV5m
16 lines
858 B
Bash
16 lines
858 B
Bash
#!/bin/sh
|
|
# Corre en la etapa /hooks-cleanup de init_2nd.sh, justo antes de
|
|
# "Switching root" (el ultimo punto de control antes de pasarle el arbol
|
|
# de procesos al systemd de la rootfs real).
|
|
#
|
|
# El dropbear que arranca initfs-hook.sh para el debug-shell (-p 22, en
|
|
# background con '&') NO muere solo en switch_root -- los procesos
|
|
# existentes sobreviven el pivote de root, solo cambia el filesystem raiz
|
|
# para los que arrancan DESPUES. Confirmado en hardware 2026-09-19: quedaba
|
|
# vivo (PID bajo, ej. 235) pegado al puerto 22 para siempre, y
|
|
# sshd.service de la rootfs real nunca podia bindear ("Address in use",
|
|
# reintentaba 5 veces y se rendia con start-limit-hit) -- el sistema
|
|
# arrancaba perfecto por debajo (Multi-User System, Graphical Interface
|
|
# alcanzados en ~48s), pero SSH quedaba inutilizable siempre.
|
|
pkill dropbear 2>/dev/null || true
|