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 <gioele@svario.it>
This commit is contained in:
Gioele Barabucci 2022-09-26 23:50:30 +02:00 committed by Jouni Malinen
parent a0628f8a50
commit e5a7c852cc
2 changed files with 2 additions and 2 deletions

View 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

View 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