893a0a558c
In the systemd interface templated the alias entry was specified with wlan0 hard coded. Changing it to %i in this patch. [Bug 477] Reported-by: zg <ml@mail.tsaitgaist.info> Signed-hostap: Arend van Spriel <arend@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com>
13 lines
446 B
Text
13 lines
446 B
Text
[Unit]
|
|
Description=WPA supplicant daemon (interface- and nl80211 driver-specific version)
|
|
Requires=sys-subsystem-net-devices-%i.device
|
|
After=sys-subsystem-net-devices-%i.device
|
|
|
|
# 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]
|
|
Alias=multi-user.target.wants/wpa_supplicant-nl80211@%i.service
|