wifi: Fix fix wifi_apply failing on boot
This commit is contained in:
parent
0d047d3e46
commit
2951280faa
|
@ -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}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue