e5a7c852cc
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>
15 lines
404 B
Text
15 lines
404 B
Text
[Unit]
|
|
Description=WPA supplicant daemon (for interface %I)
|
|
Requires=sys-subsystem-net-devices-%i.device
|
|
After=sys-subsystem-net-devices-%i.device
|
|
Before=network.target
|
|
Wants=network.target
|
|
|
|
# NetworkManager users will probably want the dbus version instead.
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|