Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Photon Startup Question: (3 Items)
   
Photon Startup Question  
I am trying to configure a QNX 4 machine to act like an appliance that boots
up directly into a custom Photon application.  On the main photon session
(/dev/photon) I will have the customer interface but I also want an
engineering interface that is hidden in another session say
(/dev/photon_eng).  This session will have multiple programs running that
can be used for troubleshooting etc.  I have tried various hacks with the
existing ph script but this seems non-optimal.  I am trying to start the
sessions and applications from the operator .profile.  Is there a clean and
simple way to start up two distinct photon applications in two distinct
sessions at boot up without requiring a login?

 

Thanks for your help.

 

Larry

Re: Photon Startup Question  
If you do a 'use ph' (you might have to specify the path to 'ph'), you will see there is a -n option, that you can 
specifiy a name for the photon device.  I have not tried this personally, just examining the QNX4 cvs repository, but it
 looks like it should work.

-Derek
Re: Photon Startup Question  
Thanks, I will take a look.  I think that the script does a bunch of crttrap stuff etc so I am not sure the overall 
effect of running this twice.  I was really looking for a lightweight alternative to calling the ph script.

Larry