umts / bib-buildroot

Buildroot recipes for BusInfoBoard kiosks
0 stars 0 forks source link

Loader page? #15

Open werebus opened 7 years ago

werebus commented 7 years ago

The ILC BIB contains a local "loader" page that's supposd to disguise the lack of a network connection. Is this important? As designed, it just has the URL of the "real" BIB in a window.location, but this will make all the config handling we've done in this repo pretty tough.

werebus commented 7 years ago

Can't we just wait for network in the startup?

werebus commented 7 years ago

Yup. I just did this in the .xinitrc

while ! ip addr list eth0 | grep -q 'inet '; do sleep 1; done

If we want to support WiFi too that will require a bit more logic