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