Commit d746ca67 authored by Leigh Stoller's avatar Leigh Stoller

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
......@@ -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
......
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