]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
systemd: Use interface name in description of interface-specific units
authorGioele Barabucci <gioele@svario.it>
Mon, 26 Sep 2022 21:50:30 +0000 (23:50 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 7 Nov 2022 12:02:55 +0000 (14:02 +0200)
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 <gioele@svario.it>
wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in
wpa_supplicant/systemd/wpa_supplicant.service.arg.in

index da69a8705ce8358c5e75b5219f137e6bc434a964..4eab33526bba0ed95a2576f4616c4038b9143508 100644 (file)
@@ -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
index 55d2b9c8171293c14457452d7196c87e302b5dd6..b0d610fa8efba075af2699306a7351d46b76d0aa 100644 (file)
@@ -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