Thanks Stuart for all these thoughts. That's a lot of great ideas.
Let me try to clarify a few things:
- change `do_fsck` to `do_fsck -y`
---------------------------------------------
I assume you mean Line 410. That seems like a great idea.
Do I understand correctly that the normal behaviour for this `do_fsck` is to
run the check, and mark filesystems dirty, and then enter single-user mode?
Whereas if I replace it with `do_fsck -y `, the filesystems will not be
marked dirty, and it will not enter singe user mode?
- starting network and sshd in single user mode
----------------------------------------------------------------
In /etc/profile, I guess I can add something like:
if [IS_SINGLE_USER_MODE]; then
sh /etc/netstart
rcctl start sshd
fi
does that seem reasonable?
(I have to figure out how to check if I am in user mode)
- noatime, memory buffers, mfs
------------------------------------------
All great ideas, I will implement that.
@crystal, thank you, unfortunately, even an SBC on the router is not a viable
option for this specific use case.