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,28 ****
#
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
! #
TXTS= nsswitch.conf netconfig hosts services
DEFAULTFILES= nss.dfl
include ../Makefile.cmd
--- 18,28 ----
#
# 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,68 ****
.KEEP_STATE:
all: $(TXTS)
install: all $(ROOTDIRS) $(ITICLTSFILES) $(ITICOTSFILES) $(ITICOTSORDFILES) \
$(IETCFILES) $(ROOTETCDEFAULTFILES)
$(ROOTDIRS):
$(INS.dir)
FRC:
clean clobber lint:
!
--- 54,71 ----
.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