I boot on a card flash, and I have all the files I need on the card.
When I start Photon manualy after the boot all is OK.
But when I try to start Photon automatically at the boot It does not work.
My buildfile of my boot image finished with :
[+session] sh /etc/rc.d/rc.local
[+session] start_photon &
In my file /etc/rc.d/rc.local I start my audio and network drivers
This is my start_photon script :
on -w /dev/photon -W10
phfontFF -d /usr/photon/font_repository -c 20K -j -s 50K -F 10 -S 50 &
on -w /dev/phfont -W10
if test $ROTATION == 180; then
io-graphics -Tdevg-rotate90.so:devg-rotate90.so -g640x480x16 -dldevg-cyrix.s
o -I0 -d0x1078,0x104
io-graphics -g640x480x16 -dldevg-cyrix.so -I0 -d0x1078,0x104
devi-hirun kbd fd -d/dev/kbd ps2 mousedev
When I do “./ start_photon” at the command line, Photon start and pwm,
wmswitch, pterm are started.
When I do as I show you before, Photon started but pwm, wmswitch, pterm are
NOT started and i’m blocked in Photon (the only way to go back is
Thanks in advance for any advice.