4 ms·
Another less normal option would simply be to make /sbin/init a shell script. Instead of trying to detect hardware, network, and all, you could just hardcode e
by juliangoldsmith 7y ago
Another less normal option would simply be to make /sbin/init a shell script.
Instead of trying to detect hardware, network, and all, you could just hardcode everything. If you're working with a standardized set of hardware, that would most likely be simpler than anything else.
- abricot 7y agoThis sounds interresting. Do you know any guides on this?
- juliangoldsmith 7y agoI don't know of a guide, off-hand. I saw it done before in postmarketOS [0], which is what made me think of it. Note that pmOS does it to call an actual init system, but it could be done as an init in and of itself. 0: https://gitlab.com/postmarketOS/pmaports/tree/master/main/postmarketos-mkinitfs https://gitlab.com/postmarketOS/pmaports/tree/master/main/po...