ComputerScienceHouse / devcade-onboard

The onboard menu and control software for the Devcade custom arcade system.
MIT License
0 stars 9 forks source link

xinitrc doesnt wait for network to run #83

Open esoccoli opened 4 months ago

esoccoli commented 4 months ago

Currently, when devcade is booted, the onboard often starts up and then becomes unhappy because it cant talk to the API to get game data. I believe this happens because the xinitrc runs before the system connects to network, meaning the onboard cant find the API when it tries to reach it, and then cant load data, and never tries again.

I believe this can be fixed by telling the system to wait until there is network to run the xinitrc

(This is more of a system change, but im putting it here bc it is most relevant and i want to have it in an issue so someone gets to it at some point :tm:)

MTFT-Games commented 4 months ago

I think there is a systemd object that we have enabled that waits to finish booting untill network is a thing but it doesnt quite work. might need a longer timeout or something else