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
436 B
Text
15 lines
436 B
Text
[Unit]
|
|
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
|
|
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-nl80211-%I.conf -Dnl80211 -i%I
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|