dhcp: Create runtime-essential files

This commit is contained in:
Toyam Cox 2016-02-11 00:08:34 -05:00
parent 5f3736d07d
commit ad2933bc11
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() {