wifi: Fix fix wifi_apply failing on boot

This commit is contained in:
Geoffrey Frogeye 2024-06-17 18:26:49 +02:00
parent 0d047d3e46
commit 2951280faa
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -71,7 +71,7 @@ in
wantedBy = [ "wpa_supplicant.service" ];
path = with pkgs; [ wpa_supplicant ];
script = ''
for i in {1..10}; do wpa_cli status &> /dev/null && break; done
for i in {1..50}; do wpa_cli status &> /dev/null && break; sleep 0.1; done
${applyScript}
'';
};