dhcp: Create runtime-essential files
This commit is contained in:
parent
5f3736d07d
commit
ad2933bc11
|
@ -1,3 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
|
mkdir -p /var/lib/dhcp/
|
||||||
|
touch /var/lib/dhcp/dhcpd.leases
|
||||||
exec dhcpd -f ${OPTS:=-4 -q -pf /run/dhcpd4.pid}
|
exec dhcpd -f ${OPTS:=-4 -q -pf /run/dhcpd4.pid}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
|
mkdir -p /var/lib/dhcp/
|
||||||
|
touch /var/lib/dhcp/dhcpd.leases
|
||||||
exec dhcpd -f ${OPTS:=-6 -q -pf /run/dhcpd6.pid}
|
exec dhcpd -f ${OPTS:=-6 -q -pf /run/dhcpd6.pid}
|
||||||
|
|
|
@ -3,7 +3,7 @@ pkgname=dhcp
|
||||||
_distver=4.3.3
|
_distver=4.3.3
|
||||||
_patchver=P1
|
_patchver=P1
|
||||||
version=${_distver}.${_patchver}
|
version=${_distver}.${_patchver}
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="dhcp-${_distver}-${_patchver}"
|
wrksrc="dhcp-${_distver}-${_patchver}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
|
@ -38,6 +38,7 @@ post_install() {
|
||||||
vsv dhcpd6
|
vsv dhcpd6
|
||||||
# Remove development stuff, useless...
|
# Remove development stuff, useless...
|
||||||
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3
|
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
dhclient_package() {
|
dhclient_package() {
|
||||||
|
|
Loading…
Reference in New Issue