wpa_supplicant: Edit BINDIR in dbus and systemd service files
This is useful, since in Gentoo BINDIR=/usr/sbin.
This commit is contained in:
parent
2ecaec50c8
commit
f0573c7989
8 changed files with 18 additions and 6 deletions
13
wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in
Normal file
13
wpa_supplicant/systemd/wpa_supplicant-nl80211@.service.in
Normal file
|
@ -0,0 +1,13 @@
|
|||
[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=network.target.wants/wpa_supplicant-nl80211@wlan0.service
|
Loading…
Add table
Add a link
Reference in a new issue