summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-05-15 17:18:55 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-06-01 10:54:25 +0200
commit019a0cbd01e59b8ae513988678d082c6d34b4b6e (patch)
treed16d239410679833cda709cdf2fc70bdc47ee8e1 /recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service
parentdc60b4a47818c722acaf2fd8da62dd105d531d59 (diff)
recipes-connectivity: add hostapd-example package
This will add an example hostapd package that will contain all necessary files to just "enable" an acces-point on a demo image. Relates-to: ELB-1303 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 7873d287300c204c594bc46429bca066cbd68bea)
Diffstat (limited to 'recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service')
-rw-r--r--recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service b/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service
new file mode 100644
index 0000000..9f576ef
--- /dev/null
+++ b/recipes-connectivity/hostapd-example/hostapd-example/hostapd-example.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
+Requires=enable-wifi.service
+
+[Service]
+Type=forking
+PIDFile=/run/hostapd.pid
+ExecStart=@SBINDIR@/hostapd @SYSCONFDIR@/hostapd-tdx-demo-img.conf -P /run/hostapd.pid -B
+
+
+[Install]
+WantedBy=multi-user.target