dhcpcd: change service as suggested by author (rsmarples@netbsd via Arch).
This commit is contained in:
@@ -4,7 +4,10 @@ Wants=network.target
|
|||||||
Before=network.target
|
Before=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/dhcpcd -q -B
|
Type=forking
|
||||||
|
PIDFile=/run/dhcpcd.pid
|
||||||
|
ExecStart=/usr/sbin/dhcpcd -q -b
|
||||||
|
ExecStop=/usr/sbin/dhcpcd -x
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
@@ -6,8 +6,10 @@ BindsTo=sys-subsystem-net-devices-%i.device
|
|||||||
After=sys-subsystem-net-devices-%i.device
|
After=sys-subsystem-net-devices-%i.device
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/dhcpcd -q -B %I
|
Type=forking
|
||||||
ExecStop=/usr/sbin/dhcpcd -k %I
|
PIDFile=/run/dhcpcd-%I.pid
|
||||||
|
ExecStart=/usr/sbin/dhcpcd -q -w %I
|
||||||
|
ExecStop=/usr/sbin/dhcpcd -x %I
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=multi-user.target.wants/dhcpcd@eth0.service
|
Alias=multi-user.target.wants/dhcpcd@eth0.service
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'dhcpcd'
|
# Template file for 'dhcpcd'
|
||||||
pkgname=dhcpcd
|
pkgname=dhcpcd
|
||||||
version=5.6.3
|
version=5.6.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --libexecdir=/usr/lib
|
configure_args="--prefix=/usr --libexecdir=/usr/lib
|
||||||
--sysconfdir=/etc --rundir=/run"
|
--sysconfdir=/etc --rundir=/run"
|
||||||
|
|||||||
Reference in New Issue
Block a user