dhcpcd: strict iface deps for dhcpcd@.service.
This commit is contained in:
parent
33cd2c597e
commit
a39e208011
2 changed files with 5 additions and 6 deletions
|
@ -2,6 +2,8 @@
|
|||
Description=Lightweight DHCP client daemon on %I
|
||||
Wants=network.target
|
||||
Before=network.target
|
||||
BindsTo=sys-subsystem-net-devices-%i.device
|
||||
After=sys-subsystem-net-devices-%i.device
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/dhcpcd -q -B %I
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'dhcpcd'
|
||||
pkgname=dhcpcd
|
||||
version=5.6.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --rundir=/run"
|
||||
configure_args="--prefix=/usr --libexecdir=/usr/lib
|
||||
--sysconfdir=/etc --rundir=/run"
|
||||
makedepends="ntp"
|
||||
conf_files="/etc/dhcpcd.conf"
|
||||
short_desc="RFC2131 compliant DHCP client"
|
||||
|
@ -20,10 +21,6 @@ long_desc="
|
|||
computer to work on the attached networks without trouble and mostly without
|
||||
configuration."
|
||||
|
||||
pre_install() {
|
||||
sed -i -e "s|/var/run/dhcpcd|/run/dhcpcd|g" dhcpcd-run-hooks.in
|
||||
}
|
||||
|
||||
post_install() {
|
||||
chmod 755 ${DESTDIR}/usr/sbin/dhcpcd
|
||||
vinstall ${FILESDIR}/dhcpcd.service 644 usr/lib/systemd/system
|
||||
|
|
Loading…
Reference in a new issue