mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-01-20 21:11:22 +01:00
34a89c5541
- Start an Acces Point if no wlan is configured. - Start a small flask webserver to configure the wifi.
16 lines
373 B
Desktop File
16 lines
373 B
Desktop File
[Unit]
|
|
Description=Wireless mode set client
|
|
Before=wpa_supplicant@.service
|
|
Before=systemd-networkd.service
|
|
Wants=network.target
|
|
|
|
# check existence of configuration file
|
|
ConditionPathExists=/etc/wpa_supplicant/wpa_supplicant-wlan0.conf
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/ln -sf wifi.network.client /etc/systemd/network/wifi.network
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|