399ec170e8
The 'network.target' is special (per systemd.special(7)), and is to be brought up indirectly when network is actually configured (i.e. through DHCP or static address settings). Irrelevant of that, all services should be always installed in multi-user.target. [Bug 427]
13 lines
449 B
SYSTEMD
13 lines
449 B
SYSTEMD
[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@wlan0.service
|