From: Gioele Barabucci Date: Mon, 26 Sep 2022 21:50:30 +0000 (+0200) Subject: systemd: Use interface name in description of interface-specific units X-Git-Tag: hostap_2_11~1547 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a7c852cc4a2f11e0bc3c8455ac9fa489cb7965;p=thirdparty%2Fhostap.git systemd: Use interface name in description of interface-specific units In a system with multiple interfaces, the boot messages as well as the status information provided by `systemctl` can be confusing without an immediate way to differentiate between the different interfaces. Fix this by adding the interface name to the unit description. Signed-off-by: Gioele Barabucci --- diff --git a/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in index da69a8705..4eab33526 100644 --- a/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in +++ b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in @@ -1,5 +1,5 @@ [Unit] -Description=WPA supplicant daemon (interface- and nl80211 driver-specific version) +Description=WPA supplicant daemon (for interface %I using nl80211) Requires=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device Before=network.target diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in index 55d2b9c81..b0d610fa8 100644 --- a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in +++ b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in @@ -1,5 +1,5 @@ [Unit] -Description=WPA supplicant daemon (interface-specific version) +Description=WPA supplicant daemon (for interface %I) Requires=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device Before=network.target