systemd: Fix systemd interface alias
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>
This commit is contained in:
parent
6ea1f4135b
commit
893a0a558c
3 changed files with 3 additions and 3 deletions
|
@ -10,4 +10,4 @@ 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@wlan0.service
|
||||
Alias=multi-user.target.wants/wpa_supplicant-nl80211@%i.service
|
||||
|
|
|
@ -10,4 +10,4 @@ Type=simple
|
|||
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
|
||||
|
||||
[Install]
|
||||
Alias=multi-user.target.wants/wpa_supplicant-wired@wlan0.service
|
||||
Alias=multi-user.target.wants/wpa_supplicant-wired@%i.service
|
||||
|
|
|
@ -10,4 +10,4 @@ Type=simple
|
|||
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
|
||||
|
||||
[Install]
|
||||
Alias=multi-user.target.wants/wpa_supplicant@wlan0.service
|
||||
Alias=multi-user.target.wants/wpa_supplicant@%i.service
|
||||
|
|
Loading…
Reference in a new issue