Commit c570dfe6 authored by Mark Andrews's avatar Mark Andrews

create a empty dhcpd.leases file at install time if it does not already

exist that is only read/writable by the installer.
parent 9c375e3d
......@@ -50,6 +50,7 @@ CLIENT_PATH = '"PATH=/usr/ucb:/usr/bin:/usr/sbin:/bin:/sbin"'
BINDLIB = ../minires/libres.a
BINDINC =
MINIRES = minires
TOUCH = touch
# Major version number (if applicable)
##--majver--
......
......@@ -51,6 +51,7 @@ install: all
$(DESTDIR)$(FFMANDIR)/dhcpd.conf$(FFMANEXT)
$(MANINSTALL) $(MANFROM) dhcpd.leases.$(MANCAT)5 $(MANTO) \
$(DESTDIR)$(FFMANDIR)/dhcpd.leases$(FFMANEXT)
umask 177; $(TOUCH) $(DESTDIR)$(VARDB)/dhcpd.leases
depend:
$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment