Uzytkownik “Miguel Simon” <firstname.lastname@example.org> napisal w wiadomosci
Thanks for your help.
This -n# is only present in the *.build file which I can update + compile
to generate a new .boot file. It seems that this is the only way to go
about doing this. I was hopping that this option would come from a
configuration file, but it seems not be the case. Thanks again.
Generating the new OS image is not necessary.
Under QNX Neutrino you can write simple macro (i. e. “con_restart”):
and call it from rc.local file:
And don’t forget to modify /etc/config/ttys file:
con5 “/bin/login” quansi-m on
con6 “/bin/login” quansi-m on
What would be the limit of how may consoles could I init? In QNX.4.xx the
limit was 9 consoles I think. Is there any such limit in 6.3.xx? Note that
these are embedded systems running in remote locations. Thanks.
Chris Herborth wrote:
Miguel Simon wrote:
I need to start more than 4 consoloes at boot up. How do I tell the
system to do so? (Note: I am not talking about configuring an .ifs file,
but rather starting more consoles from rc.local or sysinit for example.)
I’ve looked at the documentation, but I have not found how to do so.
devc-con’s -n option controls the number of consoles; the default is 4,
the maximum is 9. Adding a “-n number_of_consoles” option to wherever
you’re starting devc-con should do the trick.
(This is in the Utilities Reference, BTW.)