If there's a wpa_supplicant.conf file in /boot then this configuration needs to be applied to the WiFi configuration. If the configuration hasn't changed, then the copy & WiFi restart is not required.
Current Behavior or Design
At the moment the file is processed at each boot, even if the destination configuration file is the same. This involves at least a 15 second boot delay which is in most cases not necessary.
Possible Solution
Compare the /boot/wpa_supplicant.conf file if it needs to be processed, i.e. if it is the same file as currently present in the system. Either by a diff operation or by checksum comparison.
Expected Behavior or Design
If there's a wpa_supplicant.conf file in /boot then this configuration needs to be applied to the WiFi configuration. If the configuration hasn't changed, then the copy & WiFi restart is not required.
Current Behavior or Design
At the moment the file is processed at each boot, even if the destination configuration file is the same. This involves at least a 15 second boot delay which is in most cases not necessary.
Possible Solution
Compare the /boot/wpa_supplicant.conf file if it needs to be processed, i.e. if it is the same file as currently present in the system. Either by a diff operation or by checksum comparison.
Detailed Description and Additional Information
WiFi copy script: /opt/yio/scripts/wifi-copy-config.sh (Old location: /usr/bin/yio-remote/)