Merge pull request #3585 from Vaelatern/dhcpd

dhcp: Create runtime-essential files
This commit is contained in:
Enno Boland 2016-02-12 16:16:42 +01:00
commit 40ebfd43c9
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#!/bin/sh
[ -r conf ] && . ./conf
mkdir -p /var/lib/dhcp/
touch /var/lib/dhcp/dhcpd.leases
exec dhcpd -f ${OPTS:=-4 -q -pf /run/dhcpd4.pid}

View File

@ -1,3 +1,5 @@
#!/bin/sh
[ -r conf ] && . ./conf
mkdir -p /var/lib/dhcp/
touch /var/lib/dhcp/dhcpd.leases
exec dhcpd -f ${OPTS:=-6 -q -pf /run/dhcpd6.pid}

View File

@ -3,7 +3,7 @@ pkgname=dhcp
_distver=4.3.3
_patchver=P1
version=${_distver}.${_patchver}
revision=2
revision=3
wrksrc="dhcp-${_distver}-${_patchver}"
build_style=gnu-configure
disable_parallel_build=yes
@ -38,6 +38,7 @@ post_install() {
vsv dhcpd6
# Remove development stuff, useless...
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3
vlicense LICENSE
}
dhclient_package() {