volumio / Build

Buildscripts for Volumio System
GNU General Public License v2.0
113 stars 102 forks source link

wireless.service delays boot for about 30s #381

Closed 0unknwn closed 4 years ago

0unknwn commented 5 years ago

I use a Raspberry Pi Zero. It needs about one minute to start. When running systemd-analyze critical-chain I can see that the wireless.service delays the startup process for more then 30 seconds, which is a lot and makes volumio nearly unusable for me. A default Raspbian only needs about 18 seconds to start.

Also I find 268 lines of JavaScript a bit overkill for just having an automatic hotspot. I wrote something to achieve the same much easier thanks to systemd.

Maybe you could have a look at it.

volumio commented 5 years ago

Hi, really like your script for hotspot. The reason for wireless to delay 30 seconds is quite simple: we need to make sure that network is initialized before starting Volumio (since many services depend on it). As for being an overkill, we need to handle lot of scenarios...