Clemens Famulla-Conrad
f57df46bf0
When passing the -i argument to wpa_supplicant, the device needs to be available and ready. This fulfills the dependencies. See: https://forums.opensuse.org/showthread.php/547186-wpa_supplicant-service-fails-on-boot-succeeds-on-restart?p=2982844#post2982844 OBS-URL: https://build.opensuse.org/request/show/848179 OBS-URL: https://build.opensuse.org/package/show/hardware/wpa_supplicant?expand=0&rev=123
14 lines
386 B
Desktop File
14 lines
386 B
Desktop File
[Unit]
|
|
Description=WPA Supplicant daemon (interface %i)
|
|
After=dbus.service network.target
|
|
Requires=sys-subsystem-net-devices-%I.device
|
|
After=sys-subsystem-net-devices-%I.device
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=fi.w1.wpa_supplicant1
|
|
ExecStart=/usr/sbin/wpa_supplicant -i%i -c /etc/wpa_supplicant/wpa_supplicant.conf -u -t -f /var/log/wpa_supplicant.log
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|