I'm not sure if this goes under Programming or Linux from Scratch, so I will put it in both. My question: Is there a way to get the computer to boot up, and run a program such as a game (no log in), either with some sort of bash script, or in place of bash, programmed in C++? If there is, how would I accomplish this? The system would need to shut down as soon as the game quit. Plus if the power was to shut off abruptly, the computer would still be able to boot, with no i-node errors. I would not even need to have a good computer because it should (hopefully) be a very stripped down Linux (no GUI). This is for an arcade game I'm programming for fun in C++ and Allegro, and I want to build an upright arcade case to put it in. The game will be a top down flight simulation (I hope that won't stop you from helping
).
Thank You,
J. C.