mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
iiab-clone-wifi.service.j2: hostapd tries to start too early on Zero W
This commit is contained in:
parent
c75ab4777c
commit
09f6b292ef
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
[Unit]
|
||||
Description=IIAB ap0 clone wifi device
|
||||
Wants=network-pre.target
|
||||
# https://unix.stackexchange.com/questions/257888/systemd-wait-for-network-interface-to-be-up-before-running-service/417839#417839
|
||||
# 2022-08-22: #3352 Raspberry Pi Zero W requires 2 lines below...
|
||||
BindsTo=sys-subsystem-net-devices-{{ discovered_wireless_iface }}.device
|
||||
After=sys-subsystem-net-devices-{{ discovered_wireless_iface }}.device
|
||||
After=network-pre.target
|
||||
Before=dhcpcd.service
|
||||
Before=wpa_supplicant.service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue