summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalex <halex@openbsd.org>2010-07-07 07:15:00 +0000
committerhalex <halex@openbsd.org>2010-07-07 07:15:00 +0000
commit1b596c65c3598d2f53c6d418916b8898b42cfaba (patch)
tree43727f5c96dc81de56c6a2be11bf2473512cca57
parentrename ccb_xs to ccb_cookie, and switch it from a struct scsi_xfer * to a (diff)
downloadwireguard-openbsd-1b596c65c3598d2f53c6d418916b8898b42cfaba.tar.xz
wireguard-openbsd-1b596c65c3598d2f53c6d418916b8898b42cfaba.zip
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@
-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..."