From e5a7c852cc4a2f11e0bc3c8455ac9fa489cb7965 Mon Sep 17 00:00:00 2001 From: Gioele Barabucci Date: Mon, 26 Sep 2022 23:50:30 +0200 Subject: [PATCH] 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 --- wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in | 2 +- wpa_supplicant/systemd/wpa_supplicant.service.arg.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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