2020-01-18 18:18:19 +01:00
|
|
|
[Unit]
|
|
|
|
Description=WPA supplicant daemon (interface-specific version)
|
|
|
|
Requires=sys-subsystem-net-devices-ap0.device
|
|
|
|
After=sys-subsystem-net-devices-ap0.device
|
|
|
|
Before=network.target
|
|
|
|
Wants=network.target
|
|
|
|
|
|
|
|
# check existence of configuration file
|
|
|
|
ConditionPathExists=!/etc/wpa_supplicant/wpa_supplicant-wlan0.conf
|
|
|
|
|
|
|
|
# NetworkManager users will probably want the dbus version instead.
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2020-01-18 19:54:11 +01:00
|
|
|
ExecStart=/usr/sbin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-ap0.conf -iap0
|
2020-01-18 18:18:19 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=sys-subsystem-net-devices-ap0.device
|