2012-01-30 11:45:51 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Lightweight DHCP client daemon on %I
|
|
|
|
Wants=network.target
|
|
|
|
Before=network.target
|
2012-11-13 10:08:48 +00:00
|
|
|
BindsTo=sys-subsystem-net-devices-%i.device
|
|
|
|
After=sys-subsystem-net-devices-%i.device
|
2012-01-30 11:45:51 +00:00
|
|
|
|
|
|
|
[Service]
|
2012-11-23 14:05:16 +00:00
|
|
|
Type=forking
|
|
|
|
PIDFile=/run/dhcpcd-%I.pid
|
2014-01-18 13:23:56 +00:00
|
|
|
ExecStart=/usr/sbin/dhcpcd -q -w %I -e "wpa_supplicant_conf=/etc/wpa_supplicant/wpa_supplicant-%I.conf"
|
2012-11-23 14:05:16 +00:00
|
|
|
ExecStop=/usr/sbin/dhcpcd -x %I
|
2012-01-30 11:45:51 +00:00
|
|
|
|
|
|
|
[Install]
|
2013-05-23 08:20:33 +00:00
|
|
|
Alias=multi-user.target.wants/dhcpcd@%i.service
|