dhcpcd: switch to systemd, drop openrc support.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Template file for 'dhcpcd'
|
||||
pkgname=dhcpcd
|
||||
version=5.2.12
|
||||
revision=1
|
||||
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2"
|
||||
build_style=configure
|
||||
configure_args="--libexecdir=/lib/dhcpcd"
|
||||
@@ -19,11 +20,9 @@ Add_dependency run glibc
|
||||
Add_dependency build ntp
|
||||
|
||||
conf_files="/etc/dhcpcd.conf"
|
||||
openrc_services="dhcpcd default false"
|
||||
|
||||
post_install()
|
||||
{
|
||||
chmod 755 ${DESTDIR}/sbin/dhcpcd
|
||||
# Install the OpenRC service
|
||||
install -D -m755 ${FILESDIR}/dhcpcd.rc ${DESTDIR}/etc/init.d/dhcpcd
|
||||
vinstall ${FILESDIR}/dhcpcd.service 644 lib/systemd/system
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user