summaryrefslogtreecommitdiff
path: root/distrib/sparc64/common
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-13 17:36:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-13 17:36:57 +0000
commita0b37844a47934c8c3c64a52651752cecbc5d520 (patch)
tree2190a774b33f0f33c475ee58668202bbfc3f755d /distrib/sparc64/common
parentf064620fdf27dce4b5a48242f268d26120bdd7ff (diff)
last rev forgot to handle the "swap on" types; drahn
Diffstat (limited to 'distrib/sparc64/common')
-rw-r--r--distrib/sparc64/common/dot.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/sparc64/common/dot.profile b/distrib/sparc64/common/dot.profile
index 78005ccb61b..6ba42924504 100644
--- a/distrib/sparc64/common/dot.profile
+++ b/distrib/sparc64/common/dot.profile
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.profile,v 1.6 2002/04/13 03:10:45 deraadt Exp $
+# $OpenBSD: dot.profile,v 1.7 2002/04/13 17:36:56 deraadt Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -36,7 +36,7 @@ set -o emacs # emacs-style command line editing
rootdisk=`dmesg|sed -n -e '/OpenBSD /h' -e '//!H' -e '${
g
p
-}'|sed -n -e '/^root on \([0-9a-z]*\)/{
+}'|sed -n -e '/^root on \([0-9a-z]*\).*/{
s//\/dev\/\1/
p
}'`