From a8a7b0e9ca66907d2b920f5775680a9ae74bcb46 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 8 Nov 1995 00:01:06 +0000 Subject: use /var/yp.no --- usr.sbin/ypserv/ypinit/Makefile | 5 +++-- usr.sbin/ypserv/ypinit/ypinit.sh | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ypserv/ypinit') diff --git a/usr.sbin/ypserv/ypinit/Makefile b/usr.sbin/ypserv/ypinit/Makefile index bc5ba74520b..fce3cdb6915 100644 --- a/usr.sbin/ypserv/ypinit/Makefile +++ b/usr.sbin/ypserv/ypinit/Makefile @@ -1,11 +1,12 @@ # from: @(#)Makefile 5.3 (Berkeley) 6/22/90 -# $Id: Makefile,v 1.2 1995/11/06 21:35:06 deraadt Exp $ +# $Id: Makefile,v 1.3 1995/11/08 00:01:04 deraadt Exp $ FILES= Makefile.yp NOOBJ= noobj install: - install -c -o root -g wheel -m 644 Makefile.yp ${DESTDIR}/var/yp/Makefile + install -c -o root -g wheel -m 644 Makefile.yp \ + ${DESTDIR}/var/yp.no/Makefile install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/ypinit.sh ${DESTDIR}/usr/sbin/ypinit diff --git a/usr.sbin/ypserv/ypinit/ypinit.sh b/usr.sbin/ypserv/ypinit/ypinit.sh index e6211f67a1a..5e7ec963264 100644 --- a/usr.sbin/ypserv/ypinit/ypinit.sh +++ b/usr.sbin/ypserv/ypinit/ypinit.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: ypinit.sh,v 1.1 1995/11/01 16:56:29 deraadt Exp $ +# $Id: ypinit.sh,v 1.2 1995/11/08 00:01:05 deraadt Exp $ # # ypinit.sh - setup an master or slave server. # @@ -95,6 +95,7 @@ fi if [ ! -d ${YP_DIR} -o -f ${YP_DIR} ] then echo "The directory ${YP_DIR} doesn't exist. Restore it from the distribution." 1>&2 + echo "(Or move ${YP_DIR}.no to ${YP_DIR} if YP has not been activated before." 1>&2 exit 1 fi -- cgit v1.2.3