summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-08-05 13:15:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-08-05 13:15:52 +0000
commita994ad134e241fee90694acb55fa55aa8dbab0f4 (patch)
treed2ce623dd8c63628b1a9e3a7d4780de9d0b11b70
parent495b5415e1a83dfad9d38b99db877a26a375eec8 (diff)
handle wsconsctl.conf and sysctl.conf just being examples.
from ratchov
-rw-r--r--distrib/zaurus/ramdisk/install.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/distrib/zaurus/ramdisk/install.md b/distrib/zaurus/ramdisk/install.md
index a8c5903259d..a0d3b685787 100644
--- a/distrib/zaurus/ramdisk/install.md
+++ b/distrib/zaurus/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.29 2013/11/16 18:37:27 rpe Exp $
+# $OpenBSD: install.md,v 1.30 2014/08/05 13:15:51 deraadt Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -123,12 +123,13 @@ md_congrats() {
val=`ztsscale`
case $? in
0)
+ echo
grep -v '^mouse\.scale.*$' /mnt/etc/wsconsctl.conf \
- >/tmp/wsconsctl.conf
+ >/tmp/wsconsctl.conf 2>/dev/null
echo $val " # see ztsscale(8)" >> /tmp/wsconsctl.conf
cp /tmp/wsconsctl.conf /mnt/etc/wsconsctl.conf
grep -v '^machdep\.ztsscale.*$' /mnt/etc/sysctl.conf \
- >/tmp/sysctl.conf
+ >/tmp/sysctl.conf 2>/dev/null
cp /tmp/sysctl.conf /mnt/etc/sysctl.conf
;;
esac