Hi all,
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 :
Start /etc/rc.d/rc.local
[+session] sh /etc/rc.d/rc.local
Start Photon
[+session] start_photon &
Start the main shell
reopen /dev/con1
[+session] sh
In my file /etc/rc.d/rc.local I start my audio and network drivers
This is my start_photon script :
Photon &
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
else
io-graphics -g640x480x16 -dldevg-cyrix.so -I0 -d0x1078,0x104
fi
devi-hirun kbd fd -d/dev/kbd ps2 mousedev
pwm &
wmswitch &
pterm &
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
CTRL+SHIFT+ALT+BACKSPACE.
Thanks in advance for any advice.
Jeff HOFFMEYER