summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ypserv/ypinit/Makefile5
-rw-r--r--usr.sbin/ypserv/ypinit/ypinit.sh3
2 files changed, 5 insertions, 3 deletions
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