dhcpcd: install to /usr.
This commit is contained in:
parent
e9f94e292c
commit
f6995cfc88
|
@ -4,7 +4,7 @@ Wants=network.target
|
|||
Before=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/sbin/dhcpcd -q -B
|
||||
ExecStart=/usr/sbin/dhcpcd -q -B
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -4,8 +4,8 @@ Wants=network.target
|
|||
Before=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/sbin/dhcpcd -q -B %I
|
||||
ExecStop=/sbin/dhcpcd -k %I
|
||||
ExecStart=/usr/sbin/dhcpcd -q -B %I
|
||||
ExecStop=/usr/sbin/dhcpcd -k %I
|
||||
|
||||
[Install]
|
||||
Alias=multi-user.target.wants/dhcpcd@eth0.service
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'dhcpcd'
|
||||
pkgname=dhcpcd
|
||||
version=5.5.4
|
||||
revision=1
|
||||
homepage="http://roy.marples.name/projects/dhcpcd"
|
||||
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
|
||||
build_style=configure
|
||||
configure_args="--libexecdir=/lib/dhcpcd"
|
||||
configure_args="--prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --rundir=/run"
|
||||
short_desc="RFC2131 compliant DHCP client"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="Simplified BSD"
|
||||
|
@ -22,7 +23,7 @@ Add_dependency build ntp
|
|||
conf_files="/etc/dhcpcd.conf"
|
||||
|
||||
post_install() {
|
||||
chmod 755 ${DESTDIR}/sbin/dhcpcd
|
||||
chmod 755 ${DESTDIR}/usr/sbin/dhcpcd
|
||||
vinstall ${FILESDIR}/dhcpcd.service 644 lib/systemd/system
|
||||
vinstall ${FILESDIR}/dhcpcd@.service 644 lib/systemd/system
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user