mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
hostapd.legacy.j2: hostapd tries to start too early on Zero W
This commit is contained in:
parent
7bb5e1bfda
commit
c75ab4777c
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
|
||||||
|
# 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
|
||||||
Before=network.target
|
Before=network.target
|
||||||
Wants=network-pre.target
|
Wants=network-pre.target
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue