Skip to content
Snippets Groups Projects
Commit d746ca67 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Explicitly install resolv.conf since dhclient appears to create the

file with a timestamp in the future (maybe cause timezone not set when
dhclient runs?).
parent 24b76052
No related branches found
No related tags found
No related merge requests found
......@@ -48,11 +48,12 @@ named.conf: named.conf.template named_makeconf
install:
echo "Are you sure you want to reinstall the namedb files!"
install-real: $(NAMEDB_DIR)/named.conf \
install-real: resolv.conf \
$(NAMEDB_DIR)/named.conf \
$(NAMEDB_DIR)/localhost.rev \
$(NAMEDB_DIR)/$(OURDOMAIN).db.head \
$(NAMEDB_DIR)/reverse/$(REVERSE_MAPNAME).db.head \
$(ETCDIR)/resolv.conf
$(NAMEDB_DIR)/reverse/$(REVERSE_MAPNAME).db.head
$(INSTALL_DATA) resolv.conf $(ETCDIR)/resolv.conf
-rm -rf $(NAMEDB_DIR)/$(OURDOMAIN).internal.db.head
ln -s $(OURDOMAIN).db.head $(NAMEDB_DIR)/$(OURDOMAIN).internal.db.head
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment