1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-13 17:36:27 +01:00
OpenVoiceOS/buildroot-external/package/wifi-ap/wireless-mode-ap.service
Peter Steenbergen 34a89c5541 MycroftOS: Implementation of MycroftOS-WiFiSetup system.
- Start an Acces Point if no wlan is configured.
- Start a small flask webserver to configure the wifi.
2019-12-29 14:03:51 +01:00

17 lines
431 B
Desktop File

[Unit]
Description=Wireless mode set AP
Before=wpa_supplicant@.service
Before=systemd-networkd.service
Wants=network.target
# check existence of configuration file
ConditionPathExists= /etc/wpa_supplicant/wpa_supplicant-ap0.conf
ConditionPathExists=!/etc/wpa_supplicant/wpa_supplicant-wlan0.conf
[Service]
Type=oneshot
ExecStart=/bin/ln -sf wifi.network.ap /etc/systemd/network/wifi.network
[Install]
WantedBy=multi-user.target