Commit c570dfe6 authored by Mark Andrews's avatar Mark Andrews
Browse files

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"' ...@@ -50,6 +50,7 @@ CLIENT_PATH = '"PATH=/usr/ucb:/usr/bin:/usr/sbin:/bin:/sbin"'
BINDLIB = ../minires/libres.a BINDLIB = ../minires/libres.a
BINDINC = BINDINC =
MINIRES = minires MINIRES = minires
TOUCH = touch
# Major version number (if applicable) # Major version number (if applicable)
##--majver-- ##--majver--
......
...@@ -51,6 +51,7 @@ install: all ...@@ -51,6 +51,7 @@ install: all
$(DESTDIR)$(FFMANDIR)/dhcpd.conf$(FFMANEXT) $(DESTDIR)$(FFMANDIR)/dhcpd.conf$(FFMANEXT)
$(MANINSTALL) $(MANFROM) dhcpd.leases.$(MANCAT)5 $(MANTO) \ $(MANINSTALL) $(MANFROM) dhcpd.leases.$(MANCAT)5 $(MANTO) \
$(DESTDIR)$(FFMANDIR)/dhcpd.leases$(FFMANEXT) $(DESTDIR)$(FFMANDIR)/dhcpd.leases$(FFMANEXT)
umask 177; $(TOUCH) $(DESTDIR)$(VARDB)/dhcpd.leases
depend: depend:
$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS) $(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