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:
parent
a0628f8a50
commit
e5a7c852cc
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[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
|
Requires=sys-subsystem-net-devices-%i.device
|
||||||
After=sys-subsystem-net-devices-%i.device
|
After=sys-subsystem-net-devices-%i.device
|
||||||
Before=network.target
|
Before=network.target
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=WPA supplicant daemon (interface-specific version)
|
Description=WPA supplicant daemon (for interface %I)
|
||||||
Requires=sys-subsystem-net-devices-%i.device
|
Requires=sys-subsystem-net-devices-%i.device
|
||||||
After=sys-subsystem-net-devices-%i.device
|
After=sys-subsystem-net-devices-%i.device
|
||||||
Before=network.target
|
Before=network.target
|
||||||
|
|
Loading…
Reference in a new issue