Skip to content

Commit a7cafd7

Browse files
committed
fix: First run WiFi cfg with provided cfg file
Fixed initial WiFi configuration if /boot contains a pre-configured wpa_supplicant.conf file. After applying the configuration the remote is rebooted and wpa_supplicant initializes correctly.
1 parent 8fbdd9a commit a7cafd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

overlay/opt/yio/scripts/firstrun.sh

+2
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ then
2929
if [ -e /wificopy ]; then
3030
# if there was a wifi config on the sd card, skip the first time setup
3131
rm /firstrun
32+
# quick fix: initial reboot to settle wifi configuration
33+
reboot
3234
fi
3335
fi

0 commit comments

Comments
 (0)