diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-28 06:48:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-28 06:48:35 +0000 |
commit | 97eff83d08657c6cbe0b81a1ccbb2452d623097a (patch) | |
tree | b0befc88f3f984394d55f59a2e1474c75c01ef68 /distrib/zaurus/ramdisk/install.md | |
parent | cd02c7190ffd9d3e4576a9230b09e9b805f97aa4 (diff) |
whack any previous machdep.ztsscale settings in sysctl.conf, and apply
the new one cleanly. whee.
Diffstat (limited to 'distrib/zaurus/ramdisk/install.md')
-rw-r--r-- | distrib/zaurus/ramdisk/install.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/distrib/zaurus/ramdisk/install.md b/distrib/zaurus/ramdisk/install.md index 48e0f9c5b45..b737839b859 100644 --- a/distrib/zaurus/ramdisk/install.md +++ b/distrib/zaurus/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.5 2005/04/24 18:51:00 deraadt Exp $ +# $OpenBSD: install.md,v 1.6 2005/04/28 06:48:34 deraadt Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -123,12 +123,13 @@ __EOT } md_congrats() { - echo 'Time to calibrare the touch screen... press on the cross hairs please' - sleep 3 val=`ztsscale` case $? in 0) - echo $val >> /mnt/etc/sysctl.conf + grep -v '^machdep\.ztsscale.*$' /mnt/etc/sysctl.conf \ + >/tmp/sysctl.conf + echo $val >> /tmp/sysctl.conf + cp /tmp/sysctl.conf /mnt/etc/sysctl.conf ;; esac } |