f0573c7989
This is useful, since in Gentoo BINDIR=/usr/sbin.
13 lines
400 B
SYSTEMD
13 lines
400 B
SYSTEMD
[Unit]
|
|
Description=WPA supplicant daemon (interface-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-%I.conf -i%I
|
|
|
|
[Install]
|
|
Alias=network.target.wants/wpa_supplicant@wlan0.service
|