From 019a0cbd01e59b8ae513988678d082c6d34b4b6e Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Fri, 15 May 2020 17:18:55 +0200 Subject: 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 (cherry picked from commit 7873d287300c204c594bc46429bca066cbd68bea) --- .../hostapd-example/hostapd-example/enable-wifi.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 recipes-connectivity/hostapd-example/hostapd-example/enable-wifi.service (limited to 'recipes-connectivity/hostapd-example/hostapd-example/enable-wifi.service') diff --git a/recipes-connectivity/hostapd-example/hostapd-example/enable-wifi.service b/recipes-connectivity/hostapd-example/hostapd-example/enable-wifi.service new file mode 100644 index 0000000..623c281 --- /dev/null +++ b/recipes-connectivity/hostapd-example/hostapd-example/enable-wifi.service @@ -0,0 +1,13 @@ +[Unit] +Description=Enable Wifi +BindsTo=sys-subsystem-net-devices-uap0.device +After=sys-subsystem-net-devices-uap0.device + +[Service] +Type=oneshot +ExecStart=/usr/bin/connmanctl enable wifi +ExecStop= +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3