On Thu, Oct 28, 1999 at 05:03:10PM -0400, Robert Findlay wrote:
> We long for something like exists in the QNX OS. There all the startup
> info is contained in a single script. While this maybe less flexible than
> the current Linux scheme, it is much better suited to an embedded system.
shure, our embedded systems usually run a few processes only, so we usually
run a DOS like Init scheme. Didn't run any QNX ever, so I don't have a clue
haow they handle startup.
In our case init just runs one startup script and there are some additional
logins started where necessary. One getty Process is enough most
of the time, you could even replace it with a bash running immediately.
Needless to say, that this shoul be done only if the console does not have
any public access.
Here is how a sample iniitab looks like. It could be handy to have some type
of network runlevel which could be entered for development purposes, when
you don't need the net in production use. rc.0, rc.2 etc. are the
autoexec.bat style files I was talking about.
-cut-
id:2:initdefault:
l0:0:wait:/etc/rc.0
l2:2:wait:/etc/rc.2
l3:3:wait:/etc/rc.3
l6:6:wait:/etc/rc.6
1:23:respawn:/bin/bash -login
-cut-
Regards
Sven
--
|_||_||||| Sven Geggus @ Fraunhofer IITB, Karlsruhe, GERMANY
|_||_||||| Phone: +49 6091-422, Web: http://wsd.iitb.fhg.de/
| | ... Linux powered DATA aquisition and evaluation,
| IITB | embedded systems, combustion engine diagnosis
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.