Greetings all,
I come to you now with my next query in the Linux journey. I am currently working on a script that would allow me to boot my computer directly into a program called Freevo. This program allows my system to run as a standalone box for the TV, PVR, movies, music, etc.
Sort of run it in "toaster mode", as an appliance

It also requires X to run the DVD and MPEG player correctly with my hardware (running it in framebuffer mode just locks the system).
Anyways, I have run into a road block. Here is what I THOUGHT I could do:
add a line to /etc/inittab like:
x:4:respawn:/root/sbin/toasterX
where "toasterX" would be a script that runs X and then Freevo.
then change the initdefault line to:
id:4:initdefault Note: I realize this means running X as root, which many of you might say is not "secure". Don't worry about that plz
Then, the toasterX script would say,
[SCRIPT]
#!/bin/sh
startx
cd /usr/local/freevo; ./freevo
[/SCRIPT]
Simply starting X and then loading the freevo program. Well, to my dismay (and many of your previous knowledge I'm sure) the freevo command did not execute until after I logged out of X
Can I write a script that will execute the program after X has loaded, or is it frozen in the script until X finishes? Do I need two scripts? Plz help sorry to the mods for excessive bold lettering.
TIA everyone!