From f57df46bf08cc99af01a46a97c8527c20275e976468e05d375cadeec6ad38e69 Mon Sep 17 00:00:00 2001 From: Clemens Famulla-Conrad Date: Wed, 3 Mar 2021 15:20:49 +0000 Subject: [PATCH] Accepting request 848179 from home:awerlang:branches:openSUSE:Factory 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 --- wpa_supplicant@.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant@.service b/wpa_supplicant@.service index 62d34ec..b64e33f 100644 --- a/wpa_supplicant@.service +++ b/wpa_supplicant@.service @@ -1,6 +1,8 @@ [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