summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/hostapd/hostapd.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/hostapd/hostapd/hostapd.service')
-rw-r--r--recipes-connectivity/hostapd/hostapd/hostapd.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-connectivity/hostapd/hostapd/hostapd.service b/recipes-connectivity/hostapd/hostapd/hostapd.service
index 151c050..7cb308c 100644
--- a/recipes-connectivity/hostapd/hostapd/hostapd.service
+++ b/recipes-connectivity/hostapd/hostapd/hostapd.service
@@ -1,6 +1,14 @@
[Unit]
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
After=network.target
+# If using Toradex's demo-image, the default After=network.target should be
+# overwritten with the below provided BindsTo and After lines to reliably start
+# hostapd.
+# Please refer to the developer website for further information:
+# https://developer.toradex.com/knowledge-base/wi-fi-access-point-mode
+#
+# BindsTo=sys-subsystem-net-devices-uap0.device
+# After=sys-subsystem-net-devices-uap0.device
[Service]
Type=forking