summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2010-07-07 07:15:01 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2010-07-07 07:15:01 +0000
commit5fc55af025bddf3e324c1e4b3bf4e5f0dc80a1ef (patch)
tree4c66111073bb736c036e3f8658f8ea4aa423d6f5 /distrib/miniroot
parent1f7ad286119727bf088e5b87dd75215a50a354dc (diff)
zap chmod of /etc/pkg.conf since the installer itself will not put a username
or password in there, and any existing /etc/pkg.conf file will already have its file mode preserved "sure" deraadt@
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub3
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 95ab8b8ff14..b5f9faf6230 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.612 2010/07/04 22:51:05 deraadt Exp $
+# $OpenBSD: install.sub,v 1.613 2010/07/07 07:15:00 halex Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1837,7 +1837,6 @@ finish_up() {
grep -v '^[ ]*installpath[ ]*=' /mnt/etc/pkg.conf 2>&- > /tmp/pkgconf
print -r -- "installpath = $package_path" >> /tmp/pkgconf
cp /tmp/pkgconf /mnt/etc/pkg.conf
- chmod 600 /mnt/etc/pkg.conf
fi
echo -n "Making all device nodes..."