What's the equivalent of tinit?

What’s the equivalent of the QNX4 sinit?
I’m looking for what it is that will execute the stuff in /etc/rc.d
Or what is the proper way of setting up the system so that
one can let login scripts & the like run, without putting everything
in the boot script.
The target is an embedded system running on a little CompactFlash.

It is called ‘init’, just like in Unix. In fact earlier versions even
used ‘getty’ instead of QNX-ish ‘tinit’ for terminal initialisation.

What I do is run my own pre-init shell script from boot image, which
takes care about our custom stuff first, then starts ‘init’ takes care
about getty/login stuff. I use SYSV-like convention for custom scripts
(i.e., everything in directory X what has execute permission gets
executed in the alphabetical order). That way you can plug things in and
out without editing any existing files and that saves LOT of trouble.
Customers tend to screw startup scripts miserably using vi in hyperterm
and if everything is in one script the system gets unbootable right away
:wink:

  • igor

Alex Cellarius wrote:

What’s the equivalent of the QNX4 sinit?
I’m looking for what it is that will execute the stuff in /etc/rc.d
Or what is the proper way of setting up the system so that
one can let login scripts & the like run, without putting everything
in the boot script.
The target is an embedded system running on a little CompactFlash.