summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd-example/hostapd-example/enable-wifi.service
blob: 623c2810fd0a092f1937d46622613eef60f5475e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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