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
441 B
SYSTEMD
13 lines
441 B
SYSTEMD
[Unit]
|
|
Description=WPA supplicant daemon (interface- and wired 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-wired-%I.conf -Dwired -i%I
|
|
|
|
[Install]
|
|
Alias=multi-user.target.wants/wpa_supplicant-wired@wlan0.service
|