Print this page
NEX-2204 use DNS by default for domain name resolution
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
@@ -18,11 +18,11 @@
#
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
-#
+# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
TXTS= nsswitch.conf netconfig hosts services
DEFAULTFILES= nss.dfl
include ../Makefile.cmd
@@ -54,15 +54,18 @@
.KEEP_STATE:
all: $(TXTS)
+nsswitch.conf : nsswitch.dns
+ $(CP) nsswitch.dns $@
+
install: all $(ROOTDIRS) $(ITICLTSFILES) $(ITICOTSFILES) $(ITICOTSORDFILES) \
$(IETCFILES) $(ROOTETCDEFAULTFILES)
$(ROOTDIRS):
$(INS.dir)
FRC:
clean clobber lint:
-
+ $(RM) nsswitch.conf