From 1cafcde91c5273d5f9f21abbf8c5407c87e3b9e4 Mon Sep 17 00:00:00 2001 From: Andreas Ziegler Date: Sun, 26 Feb 2023 00:04:50 +0100 Subject: [PATCH] gluon-core: sleep a few seconds during upgrade wait for device initialisations workaround for a timing issue during first boot on ath79-generic after sysupgrade from ar71xx-generic image GitHub Issue: #2779 (cherry picked from commit d97673f7155a05f3ecb02c8309cd440eb47e16fa) --- package/gluon-core/files/etc/uci-defaults/zzz-gluon-upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/gluon-core/files/etc/uci-defaults/zzz-gluon-upgrade b/package/gluon-core/files/etc/uci-defaults/zzz-gluon-upgrade index bd3a51d7..e0cc6fac 100755 --- a/package/gluon-core/files/etc/uci-defaults/zzz-gluon-upgrade +++ b/package/gluon-core/files/etc/uci-defaults/zzz-gluon-upgrade @@ -1,5 +1,10 @@ #!/bin/sh +# Work around an issue with wifi setup timing by waiting a bit +# while device initialisation is ongoing. +# https://github.com/freifunk-gluon/gluon/issues/2779 +sleep 3 + gluon-reconfigure exit 0