Hi,
For an Openwrt 19.07.10 on a Mikrotik RB411 I've successfully followed the Terminate UART Console and used the on-board serial console in client mode. However, I would like the system to boot normally, in case of a problem with ssh access, and switch the UART to client mode on-demand and only temporarily. Digging into the problem I see that the ::askconsole:/usr/libexec/login.sh
line from inittab renders the procd to spawn /sbin/askfirst /usr/libexec/login.sh
process which gets respawned if killed normally. Using the ubus I couldn't see any related daemon/service instance listed. How can that process be gracefully stopped and then started again, mimicking the ::askconsole:/usr/libexec/login.sh
inittab line behavior (commented-out or not), on-demand? Is there a better way to achieve the topic's title - Temporarily on-demand terminate UART console?
Thanks!