summaryrefslogtreecommitdiff
path: root/dhcp/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp/Pkgfile')
-rw-r--r--dhcp/Pkgfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcp/Pkgfile b/dhcp/Pkgfile
index 5cb4a9ca3..a6f1310cf 100644
--- a/dhcp/Pkgfile
+++ b/dhcp/Pkgfile
@@ -18,6 +18,8 @@ build() {
make && make DESTDIR=$PKG INCDIR=/usr/include LIBDIR=/usr/lib install
install -m644 client/dhclient.conf server/dhcpd.conf -t $PKG/etc
install -D ../dhcpd $PKG/etc/rc.d/dhcpd
+ mkdir -p $PKG/var/state/dhcp
+ touch $PKG/var/state/dhcp/dhcpd.leases
find $PKG/usr/man -type f -exec chmod 644 {} \;
chown -R root:root $PKG
}

Generated by cgit