View | Details | Raw Unified | Return to bug 12748
Collapse All | Expand All

(-)linux_base.new/Makefile (+6 lines)
Lines 169-174 Link Here
169
	done
169
	done
170
	@${LN} -s /var/tmp ${PREFIX}/usr/tmp
170
	@${LN} -s /var/tmp ${PREFIX}/usr/tmp
171
171
172
	if [ X`domainname` != X ]; then \
173
		${INSTALL_DATA} ${FILESDIR}/yp.conf ${PREFIX}/etc; \
174
		${ECHO} domainname `domainname` >> ${PREFIX}/etc/yp.conf; \
175
		${ECHO} ypserver `ypwhich` >> ${PREFIX}/etc/yp.conf; \
176
	fi
177
172
post-install:
178
post-install:
173
	@${ECHO} ''
179
	@${ECHO} ''
174
	@fmt ${PKGMESSAGE}
180
	@fmt ${PKGMESSAGE}
(-)linux_base.new/files/yp.conf (+13 lines)
Line 0 Link Here
1
# sample yp.conf file
2
#
3
# Legal entries are:
4
#
5
#       domainname <domain>             Override the default YP domain
6
#                                       (If not set uses the one from
7
#                                        the getdomainname() syscall)
8
#
9
#       ypserver <grape> [<domain>]     Define which host to contact
10
#                                       for YP service. If the <domain>
11
#                                       argument is included then this
12
#                                       host service the specified YP
13
#                                       domain.

Return to bug 12748