<br><br><div><span class="gmail_quote">On 5/7/07, <b class="gmail_sendername">jm</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Has anyone attempted to start an erlang node from inittab? For example,<br>something like<br><br> n0:2345:/usr/sbin/erl -noshell<br><br>or for the more crazy out there doing embedded systems: Replacing<br>/sbin/init with an erlang node? Now I've have no idea what the advantage
<br>or disadvantages of such a set up would be. It's just a random thought<br>that occured to me and I was interested to know if anyone had tried it.<br><br><br>Jeff.<br>_______________________________________________
<br>erlang-questions mailing list<br><a href="mailto:email@example.com">firstname.lastname@example.org</a><br><a href="http://www.erlang.org/mailman/listinfo/erlang-questions">http://www.erlang.org/mailman/listinfo/erlang-questions
</a><br></blockquote></div><br>The simplest would be to run it as an S script at the appropriate runlevel. Why bother with inittab, even?<br><br>Unix's init cannot be trivially replaced, as it spawns several critical kernel threads, and manages runlevels as well.