summaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2005-11-21 16:13:45 +0000
committerBob Beck <beck@cvs.openbsd.org>2005-11-21 16:13:45 +0000
commit0d73ecfdaec0cb177f249635d82d7db9568a689c (patch)
treef415e37c80894607144f209b4fd5f7b8edd57aaa /etc/Makefile
parent56d1f3fd964fd502c93bad7931e273788c976b6d (diff)
Make the rc files in / be copies of the ones given by default to root in
/root instead of hard links to them. This way multiuser only changes a user makes to the to the ones in /root do not screw them over for getting into single user easily when the have to. ok millert@
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/etc/Makefile b/etc/Makefile
index c74dc1ef563..667a1f0af2b 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.228 2005/11/17 21:28:05 jakob Exp $
+# $OpenBSD: Makefile,v 1.229 2005/11/21 16:13:44 beck Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -96,8 +96,10 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 644 dot.profile \
${DESTDIR}/root/.profile; \
rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
- ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
- ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile
+ ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \
+ ${DESTDIR}/.cshrc; \
+ ${INSTALL} -c -o root -g wheel -m 644 dot.profile \
+ ${DESTDIR}/.profile;
cd skel; \
${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \
${DESTDIR}/etc/skel/.cshrc; \
@@ -379,7 +381,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096
update-moduli:
( \
- echo '# $$OpenBSD: Makefile,v 1.228 2005/11/17 21:28:05 jakob Exp $$'; \
+ echo '# $$OpenBSD: Makefile,v 1.229 2005/11/21 16:13:44 beck Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \